1
0
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:
Ethan Clevenger
2023-03-22 11:06:17 -07:00
parent d7a40b7be2
commit bfad7ed836

View File

@@ -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') &&