diff --git a/src/TestCommand.php b/src/TestCommand.php index 5e583c9..1c0823c 100644 --- a/src/TestCommand.php +++ b/src/TestCommand.php @@ -89,7 +89,7 @@ public function addOption(string $name, $value = null): self foreach ((array) $value as $item) { $this->cli .= " {$name}"; - if ($item) { + if (null !== $item) { $this->cli .= \sprintf('="%s"', $item); } }