diff --git a/tests/stubs/oc_core_command_base.php b/tests/stubs/oc_core_command_base.php index bbae1a65..c2764481 100644 --- a/tests/stubs/oc_core_command_base.php +++ b/tests/stubs/oc_core_command_base.php @@ -15,7 +15,7 @@ class Base { protected string $defaultOutputFormat = self::OUTPUT_FORMAT_PLAIN; - public function __construct(string $name = null) { + public function __construct(?string $name = null) { } protected function configure() { @@ -30,7 +30,7 @@ public function getApplication(): ?Application { public function getDefinition(): InputDefinition { } - public function addArgument(string $name, int $mode = null, string $description = '', $default = null) { + public function addArgument(string $name, ?int $mode = null, string $description = '', $default = null) { } protected function writeArrayInOutputFormat(InputInterface $input, OutputInterface $output, array $items, string $prefix = ' - '): void {