Skip to content

Commit 0545c69

Browse files
committed
Fix For Arch Linux
1 parent b61932e commit 0545c69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/Valet/PhpFpm.php

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Valet\PackageManagers\Homebrew;
88
use Valet\Contracts\ServiceManager;
99
use Valet\PackageManagers\Dnf;
10+
use Valet\PackageManagers\Pacman;
1011

1112
class PhpFpm
1213
{
@@ -543,6 +544,10 @@ public function getPhpVersion()
543544
return null;
544545
}
545546

547+
if ($this->pm instanceof Pacman) {
548+
return null;
549+
}
550+
546551
if (!$this->version) {
547552
$this->version = $this->normalizePhpVersion(PHP_VERSION);
548553
}

0 commit comments

Comments
 (0)