We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2b4964 commit 9d6540dCopy full SHA for 9d6540d
1 file changed
cli/Valet/Site.php
@@ -329,7 +329,7 @@ public function customPhpVersion($url) {
329
* @return array|null [ "site" => [sitename], "php" => [PHP version] ]
330
*/
331
public function whichPhp($cwd) {
332
- $currentSite = $this->parked()->filter(function ($site, $key) use ($cwd) {
+ $currentSite = $this->parked()->merge($this->links())->filter(function ($site, $key) use ($cwd) {
333
if ($key === $cwd) return $site;
334
});
335
0 commit comments