mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +01:00
Update cli/valet.php
This commit is contained in:
@@ -540,8 +540,7 @@
|
||||
$site = basename(getcwd());
|
||||
}
|
||||
|
||||
if (! $phpVersion) {
|
||||
$phpVersion = Site::phpRcVersion($site);
|
||||
if (is_null($phpVersion) && $phpVersion = Site::phpRcVersion($site)) {
|
||||
info("Found '{$site}/.valetphprc' specifying version: {$phpVersion}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user