]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Command/CalendarCommand.php
Use checker member for isGranted call
[airbundle] / Command / CalendarCommand.php
index fb0cd029b944af6b81cf629abd12c22ce08a945e..2488f51d3840262a512c2c6a54abd0cdffa9c770 100644 (file)
@@ -112,7 +112,7 @@ class CalendarCommand extends Command {
        }
 
        ///Process the attribution
        }
 
        ///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
                //Compute period
                $period = new \DatePeriod(
                        //Start from last week