From 059e66ae24b995fc9071e287647e20c007fc92f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 27 Feb 2024 16:40:17 +0100 Subject: [PATCH] Update execute member function prototype --- Command/AttributeCommand.php | 2 +- Command/CalendarCommand.php | 2 +- Command/RekeyCommand.php | 2 +- Command/WeatherCommand.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Command/AttributeCommand.php b/Command/AttributeCommand.php index 8f26e26..48f5f01 100644 --- a/Command/AttributeCommand.php +++ b/Command/AttributeCommand.php @@ -27,7 +27,7 @@ class AttributeCommand extends DoctrineCommand { } ///Process the attribution - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { //Fetch doctrine $doctrine = $this->getDoctrine(); diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index fb0cd02..2488f51 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -112,7 +112,7 @@ class CalendarCommand extends Command { } ///Process the attribution - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { //Compute period $period = new \DatePeriod( //Start from last week diff --git a/Command/RekeyCommand.php b/Command/RekeyCommand.php index 91d7967..630d443 100644 --- a/Command/RekeyCommand.php +++ b/Command/RekeyCommand.php @@ -28,7 +28,7 @@ class RekeyCommand extends DoctrineCommand { } ///Process the attribution - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { //Fetch doctrine $doctrine = $this->getDoctrine(); diff --git a/Command/WeatherCommand.php b/Command/WeatherCommand.php index 3b6c88f..ed7b8be 100644 --- a/Command/WeatherCommand.php +++ b/Command/WeatherCommand.php @@ -99,7 +99,7 @@ class WeatherCommand extends DoctrineCommand { } ///Process the attribution - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { //Kernel object $kernel = $this->getApplication()->getKernel(); -- 2.41.1