1
0
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:
NasirNobin
2022-04-03 09:50:56 +06:00
committed by GitHub
parent fa0bd53d12
commit 3ae6dae57e

View File

@@ -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}");
}