summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-01-17 10:50:42 -0500
committerBenjamin Brahmer <info@b-brahmer.de>2024-01-21 13:58:20 +0100
commit668ed8228033062836ae1f26aa567f4272803b42 (patch)
treee75380b2e81a210676f75818cd134ed4e8307026 /lib
parentb3bad9938f0ee658f3efd47b9c02c3a4a6296f77 (diff)
FolderRead: add type declarations
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Command/Debug/FolderRead.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Command/Debug/FolderRead.php b/lib/Command/Debug/FolderRead.php
index a259aceb6..97df170da 100644
--- a/lib/Command/Debug/FolderRead.php
+++ b/lib/Command/Debug/FolderRead.php
@@ -45,7 +45,7 @@ class FolderRead extends Command
*
* @return void
*/
- protected function configure()
+ protected function configure(): void
{
$this->setName('news:folder:read')
->setDescription('Read folder')
@@ -59,9 +59,9 @@ class FolderRead extends Command
* @param InputInterface $input
* @param OutputInterface $output
*
- * @return int|void
+ * @return int
*/
- protected function execute(InputInterface $input, OutputInterface $output)
+ protected function execute(InputInterface $input, OutputInterface $output): int
{
$user = $input->getArgument('user-id');