We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6624f9c commit eb8623eCopy full SHA for eb8623e
src/ConsoleScript.php
@@ -36,7 +36,7 @@
36
*
37
* @return string[]
38
*/
39
-function preg_quote_array(array $strings, string $delim = null) : array{
+function preg_quote_array(array $strings, ?string $delim = null) : array{
40
return array_map(function(string $str) use ($delim) : string{ return preg_quote($str, $delim); }, $strings);
41
}
42
0 commit comments