From: Raphaƫl Gertz <git@rapsys.eu>
Date: Tue, 27 Feb 2024 15:40:17 +0000 (+0100)
Subject: Update execute member function prototype
X-Git-Tag: 0.3.0~59
X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/059e66ae24b995fc9071e287647e20c007fc92f8

Update execute member function prototype
---

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();