upgrade to laravel 7 and set branch to v2
This commit is contained in:
6
vendor/symfony/process/ExecutableFinder.php
vendored
6
vendor/symfony/process/ExecutableFinder.php
vendored
@@ -31,10 +31,8 @@ class ExecutableFinder
|
||||
|
||||
/**
|
||||
* Adds new possible suffix to check for executable.
|
||||
*
|
||||
* @param string $suffix
|
||||
*/
|
||||
public function addSuffix($suffix)
|
||||
public function addSuffix(string $suffix)
|
||||
{
|
||||
$this->suffixes[] = $suffix;
|
||||
}
|
||||
@@ -48,7 +46,7 @@ class ExecutableFinder
|
||||
*
|
||||
* @return string|null The executable path or default value
|
||||
*/
|
||||
public function find($name, $default = null, array $extraDirs = [])
|
||||
public function find(string $name, string $default = null, array $extraDirs = [])
|
||||
{
|
||||
if (ini_get('open_basedir')) {
|
||||
$searchPath = array_merge(explode(\PATH_SEPARATOR, ini_get('open_basedir')), $extraDirs);
|
||||
|
||||
Reference in New Issue
Block a user