]> Raphaël G. Git Repositories - packbundle/commitdiff
Set getAlias function as static
authorRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 12:23:45 +0000 (14:23 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 12:23:45 +0000 (14:23 +0200)
RapsysPackBundle.php

index ca879af6cfdc39050e1166ea57907c1ae2a65e81..67b26ce0bf57812df969222467d3cc0c0f62ac22 100644 (file)
@@ -23,7 +23,7 @@ class RapsysPackBundle extends Bundle {
         *
         * @return string The bundle alias
         */
         *
         * @return string The bundle alias
         */
-    public function getAlias(): string {
+    public static function getAlias(): string {
                //With namespace
                if ($npos = strrpos(static::class, '\\')) {
                        //Set name pos
                //With namespace
                if ($npos = strrpos(static::class, '\\')) {
                        //Set name pos