mirror of
https://github.com/danog/parallel.git
synced 2024-12-04 02:27:55 +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';
|
return 'null';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (\is_bool($value)) {
|
||||||
|
return $value ? 'true' : 'false';
|
||||||
|
}
|
||||||
|
|
||||||
return (string) $value;
|
return (string) $value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user