Remove scalar parameter type declaration (#10186)
`string` can only be used in parameters starting from PHP 7.0.pull/10198/head
parent
6d37c1f8ab
commit
f0cc9aeb01
|
@ -422,7 +422,13 @@ class Git
|
|||
return self::$version;
|
||||
}
|
||||
|
||||
private function maskCredentials(string $error, array $credentials)
|
||||
/**
|
||||
* @param string $error
|
||||
* @param string[] $credentials
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function maskCredentials($error, array $credentials)
|
||||
{
|
||||
$maskedCredentials = array();
|
||||
|
||||
|
|
Loading…
Reference in New Issue