Skip to content

Commit bfad7ed

Browse files
Correct function signature. Tests pass locally.
1 parent d7a40b7 commit bfad7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/Valet/Drivers/Specific/BedrockValetDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class BedrockValetDriver extends BasicValetDriver
1111
*/
1212
public function serves(string $sitePath, string $siteName, string $uri): bool
1313
{
14-
return $this->composerRequires('roots/bedrock-autoloader') ||
14+
return $this->composerRequires($sitePath, 'roots/bedrock-autoloader') ||
1515
file_exists($sitePath.'/web/app/mu-plugins/bedrock-autoloader.php') ||
1616
(is_dir($sitePath.'/web/app/') &&
1717
file_exists($sitePath.'/web/wp-config.php') &&

0 commit comments

Comments
 (0)