From 8c04261fab3636f14622227f944464995e29654d Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Wed, 31 Mar 2021 13:25:05 +0200 Subject: [PATCH] Fix PHPStan error --- phpunit.xml | 2 +- tests/Stub/StubTerminableCommand.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 28a1efd..a44d963 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ addOption('stub', null, InputOption::VALUE_REQUIRED, 'Stubbed execution duration time', 0); - $this->addOption('sleep', null, InputOption::VALUE_REQUIRED, 'Sleep duration time', 0); + $this->addOption('stub', null, InputOption::VALUE_REQUIRED, 'Stubbed execution duration time', '0'); + $this->addOption('sleep', null, InputOption::VALUE_REQUIRED, 'Sleep duration time', '0'); } protected function commandBody(InputInterface $input, OutputInterface $output): int