From 318abf2d09e1fa29546fbc70b98817c64085d3af Mon Sep 17 00:00:00 2001 From: j3nsch Date: Wed, 16 Oct 2024 15:12:39 +0200 Subject: [PATCH] #76 Fixes for PHP 8.2 --- src/Import/Console/BibtexImportCommand.php | 2 +- src/Import/Console/BibtexListCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Import/Console/BibtexImportCommand.php b/src/Import/Console/BibtexImportCommand.php index 161cdba..61e777a 100644 --- a/src/Import/Console/BibtexImportCommand.php +++ b/src/Import/Console/BibtexImportCommand.php @@ -134,7 +134,7 @@ protected function configure() ); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $fileName = $input->getArgument(self::ARGUMENT_IMPORT_FILE); diff --git a/src/Import/Console/BibtexListCommand.php b/src/Import/Console/BibtexListCommand.php index 35f7aaf..d6cec47 100644 --- a/src/Import/Console/BibtexListCommand.php +++ b/src/Import/Console/BibtexListCommand.php @@ -56,7 +56,7 @@ protected function configure() ->setHelp($help); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $bibtex = BibtexService::getInstance();