Skip to content

Commit 5e9f3ba

Browse files
authored
Merge pull request #53 from theofidry/merge-master-to-1.x
Merge master to 1.x
2 parents 3ef3ae9 + 02217af commit 5e9f3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parallelization.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,6 @@ protected function quoteOptionValue($value) {
560560
* Validate whether a command option requires quoting or not, depending on its content.
561561
*/
562562
protected function isValueRequiresQuoting($value) : bool {
563-
return 0 < preg_match('/[\s \\\\ \' " & | < > = ! @]/x', $value);
563+
return 0 < preg_match('/[\s \\\\ \' " & | < > = ! @]/x', (string) $value);
564564
}
565565
}

0 commit comments

Comments
 (0)