X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/9d0f67d98d3fcb021e1098128f2e42a6bf411bfb..d9f9b231f6a4447bf7b9f254b5903f775be809a3:/Command/AttributeCommand.php?ds=sidebyside 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();