mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +01:00
Support isolated sites running PHP 7.4
This commit is contained in:
@@ -31,7 +31,7 @@ public function serves(string $sitePath, string $siteName, string $uri): bool
|
||||
* @param string $uri
|
||||
* @return string|false
|
||||
*/
|
||||
public function isStaticFile(string $sitePath, string $siteName, string $uri): string|false
|
||||
public function isStaticFile(string $sitePath, string $siteName, string $uri)
|
||||
{
|
||||
if (file_exists($staticFilePath = $sitePath.'/public/'.$uri)) {
|
||||
return $staticFilePath;
|
||||
|
||||
Reference in New Issue
Block a user