mirror of
https://github.com/laravel/valet.git
synced 2026-02-08 01:10:08 +01:00
Allow null response from frontControllerPath
This commit is contained in:
@@ -40,9 +40,9 @@ public function isStaticFile(string $sitePath, string $siteName, string $uri): s
|
||||
* @param string $sitePath
|
||||
* @param string $siteName
|
||||
* @param string $uri
|
||||
* @return string
|
||||
* @return string|null
|
||||
*/
|
||||
public function frontControllerPath(string $sitePath, string $siteName, string $uri): string
|
||||
public function frontControllerPath(string $sitePath, string $siteName, string $uri): ?string
|
||||
{
|
||||
if (! getenv('CONCRETE5_ENV')) {
|
||||
putenv('CONCRETE5_ENV=valet');
|
||||
|
||||
Reference in New Issue
Block a user