diff --git a/src/Concerns/LocatesPhpBinary.php b/src/Concerns/LocatesPhpBinary.php index f5fb7ac..9f8b795 100644 --- a/src/Concerns/LocatesPhpBinary.php +++ b/src/Concerns/LocatesPhpBinary.php @@ -13,17 +13,12 @@ protected function binaryPackageDirectory(): string } /** - * Calculate the path to the PHP binary based on the OS + * Returns the path to the PHP binary. * * @return string The path to the PHP binary (not including the filename) */ public function phpBinaryPath(): string { - return $this->binaryPackageDirectory().'bin/'.match (PHP_OS_FAMILY) { - 'Windows' => 'win', - 'Darwin' => 'mac', - 'Linux' => 'linux', - }; - + return $this->binaryPackageDirectory().'bin/'; } }