1
0
Fork 0

Remove scalar parameter type declaration (#10186)

`string` can only be used in parameters starting from PHP 7.0.
pull/10198/head
Martin Herndl 2021-10-19 13:10:21 +02:00 committed by GitHub
parent 6d37c1f8ab
commit f0cc9aeb01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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();