X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/e23dd2a0394f23d83d0d92fb3fcf2f82aa61537c..408115f4e8d8d5828bb8155891a2aa5ca35a974b:/Command/CalendarCommand.php?ds=inline diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index fb0cd02..003910a 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -1,4 +1,13 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; @@ -13,6 +22,7 @@ use Symfony\Component\Routing\RouterInterface; use Symfony\Contracts\Translation\TranslatorInterface; use Twig\Extra\Markdown\DefaultMarkdown; +use Rapsys\AirBundle\Command; use Rapsys\AirBundle\Entity\Session; use Rapsys\PackBundle\Util\SluggerUtil; @@ -112,7 +122,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