build/server-phar: fixed a phpstan level 8 error

This commit is contained in:
Dylan K. Taylor
2020-06-15 23:16:40 +01:00
parent b0b1b29de4
commit 1fb5043eb1
2 changed files with 1 additions and 6 deletions

View File

@ -49,7 +49,7 @@ require dirname(__DIR__) . '/vendor/autoload.php';
*
* @return string[]
*/
function preg_quote_array(array $strings, string $delim = null) : array{
function preg_quote_array(array $strings, string $delim) : array{
return array_map(function(string $str) use ($delim) : string{ return preg_quote($str, $delim); }, $strings);
}