]> Raphaël G. Git Repositories - airbundle/commitdiff
Strict types
authorRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 21:59:03 +0000 (22:59 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 21:59:03 +0000 (22:59 +0100)
DependencyInjection/RapsysAirExtension.php

index a630553dc75370837032564dc2207374e50e46b4..a66e3cc68124251589b57b012dfb84bfc3a180ee 100644 (file)
@@ -1,4 +1,13 @@
-<?php
+<?php declare(strict_types=1);
+
+/*
+ * This file is part of the Rapsys PackBundle package.
+ *
+ * (c) Raphaël Gertz <symfony@rapsys.eu>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 namespace Rapsys\AirBundle\DependencyInjection;
 
@@ -7,6 +16,8 @@ use Symfony\Component\DependencyInjection\Extension\Extension;
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
 use Symfony\Component\Translation\Loader\ArrayLoader;
 
+use Rapsys\AirBundle\RapsysAirBundle;
+
 /**
  * This is the class that loads and manages your bundle configuration.
  *
@@ -89,8 +100,8 @@ class RapsysAirExtension extends Extension implements PrependExtensionInterface
        /**
         * {@inheritdoc}
         */
-       public function getAlias() {
-               return 'rapsys_air';
+       public function getAlias(): string {
+               return RapsysAirBundle::getAlias();
        }
 
        /**