mirror of
https://github.com/danog/parallel.git
synced 2024-12-11 08:39:48 +01:00
Fix flattenArgument for booleans (#97)
This commit is contained in:
parent
09ab72333b
commit
1e8062c702
@ -71,5 +71,9 @@ function flattenArgument($value): string
|
||||
return 'null';
|
||||
}
|
||||
|
||||
if (\is_bool($value)) {
|
||||
return $value ? 'true' : 'false';
|
||||
}
|
||||
|
||||
return (string) $value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user