X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/9d0f67d98d3fcb021e1098128f2e42a6bf411bfb..2884b5c8b4514b0e1c0dd0449db2af5be32382b6:/Command/AttributeCommand.php?ds=inline diff --git a/Command/AttributeCommand.php b/Command/AttributeCommand.php index 8f26e26..f4fa133 100644 --- a/Command/AttributeCommand.php +++ b/Command/AttributeCommand.php @@ -1,10 +1,21 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; use Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand; + use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; + use Rapsys\AirBundle\Entity\Session; class AttributeCommand extends DoctrineCommand { @@ -27,7 +38,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();