package and depencies
This commit is contained in:
4
vendor/symfony/process/ExecutableFinder.php
vendored
4
vendor/symfony/process/ExecutableFinder.php
vendored
@@ -43,10 +43,8 @@ class ExecutableFinder
|
||||
* @param string $name The executable name (without the extension)
|
||||
* @param string|null $default The default to return if no executable is found
|
||||
* @param array $extraDirs Additional dirs to check into
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function find(string $name, string $default = null, array $extraDirs = [])
|
||||
public function find(string $name, string $default = null, array $extraDirs = []): ?string
|
||||
{
|
||||
if (\ini_get('open_basedir')) {
|
||||
$searchPath = array_merge(explode(\PATH_SEPARATOR, \ini_get('open_basedir')), $extraDirs);
|
||||
|
Reference in New Issue
Block a user