mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 17:10:05 +01:00
Correct function signature. Tests pass locally.
This commit is contained in:
@@ -11,7 +11,7 @@ class BedrockValetDriver extends BasicValetDriver
|
||||
*/
|
||||
public function serves(string $sitePath, string $siteName, string $uri): bool
|
||||
{
|
||||
return $this->composerRequires('roots/bedrock-autoloader') ||
|
||||
return $this->composerRequires($sitePath, 'roots/bedrock-autoloader') ||
|
||||
file_exists($sitePath.'/web/app/mu-plugins/bedrock-autoloader.php') ||
|
||||
(is_dir($sitePath.'/web/app/') &&
|
||||
file_exists($sitePath.'/web/wp-config.php') &&
|
||||
|
||||
Reference in New Issue
Block a user