From c7ae34fb6fe3da134788989904374411f551821b Mon Sep 17 00:00:00 2001 From: Fabricio Date: Sun, 19 Nov 2023 14:20:29 +0100 Subject: [PATCH] added void output parameter to configure method in command class --- src/Command/AbstractList.php | 2 +- src/Command/UserListCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/AbstractList.php b/src/Command/AbstractList.php index bcfd0da..7b8ae10 100644 --- a/src/Command/AbstractList.php +++ b/src/Command/AbstractList.php @@ -78,7 +78,7 @@ public function __construct( parent::__construct(); } - protected function configure() + protected function configure(): void { $this ->addArgument('page', InputArgument::OPTIONAL, 'Page', 1) diff --git a/src/Command/UserListCommand.php b/src/Command/UserListCommand.php index 86961b8..f7407ad 100644 --- a/src/Command/UserListCommand.php +++ b/src/Command/UserListCommand.php @@ -20,7 +20,7 @@ class UserListCommand extends AbstractList /** @var array|object[] */ private ?array $userList = null; - protected function configure() + protected function configure(): void { parent::configure(); }