We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f23144 commit 0d607f7Copy full SHA for 0d607f7
src/Concerns/LocatesPhpBinary.php
@@ -13,17 +13,12 @@ protected function binaryPackageDirectory(): string
13
}
14
15
/**
16
- * Calculate the path to the PHP binary based on the OS
+ * Returns the path to the PHP binary.
17
*
18
* @return string The path to the PHP binary (not including the filename)
19
*/
20
public function phpBinaryPath(): string
21
{
22
- return $this->binaryPackageDirectory().'bin/'.match (PHP_OS_FAMILY) {
23
- 'Windows' => 'win',
24
- 'Darwin' => 'mac',
25
- 'Linux' => 'linux',
26
- };
27
-
+ return $this->binaryPackageDirectory().'bin/';
28
29
0 commit comments