From b512a426c46130ee83950ef20674cbab21de20e2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 10 May 2024 09:00:54 +0200 Subject: [PATCH] fix(tests): Improve the stub so it's not confusing IDEs Signed-off-by: Joas Schilling --- tests/stubs/oc_core_command_base.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/stubs/oc_core_command_base.php b/tests/stubs/oc_core_command_base.php index e91ab492..1dbccad8 100644 --- a/tests/stubs/oc_core_command_base.php +++ b/tests/stubs/oc_core_command_base.php @@ -24,6 +24,9 @@ protected function configure() { public function setName(string $name) { } + /** + * @return $this + */ public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null) { } @@ -36,6 +39,9 @@ public function getDefinition(): InputDefinition { public function getHelper(string $name) { } + /** + * @return $this + */ public function addArgument(string $name, int $mode = null, string $description = '', $default = null) { }