]> Raphaël G. Git Repositories - airbundle/commitdiff
Update execute member function prototype
authorRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 15:40:17 +0000 (16:40 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 15:40:17 +0000 (16:40 +0100)
Command/AttributeCommand.php
Command/CalendarCommand.php
Command/RekeyCommand.php
Command/WeatherCommand.php

index 8f26e26dd8f51d5c01d701dd0cec97a7a1071534..48f5f01287c8f4675e6315b485762617dd44037b 100644 (file)
@@ -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();
 
index fb0cd029b944af6b81cf629abd12c22ce08a945e..2488f51d3840262a512c2c6a54abd0cdffa9c770 100644 (file)
@@ -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
index 91d7967de249a60beb2449c992dd2f03f6291261..630d443c79b33289433155c793f616168cc71e03 100644 (file)
@@ -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();
 
index 3b6c88f22dad0bb289c08213db5eed9c7dec3beb..ed7b8bec947c10d7ece6127ecd164164ddbee72d 100644 (file)
@@ -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();