]> Raphaël G. Git Repositories - userbundle/commitdiff
Set as static
authorRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 11:29:28 +0000 (13:29 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 11:29:28 +0000 (13:29 +0200)
RapsysUserBundle.php

index b347c51b66b20dc7dec62804259db5ec535f201e..627ad610d32ee62ce20957295e78e1bd215852a8 100644 (file)
@@ -11,7 +11,7 @@ class RapsysUserBundle extends Bundle {
         *
         * @return string The bundle alias
         */
-    public function getAlias(): string {
+    public static function getAlias(): string {
                //With namespace
                if ($npos = strrpos(static::class, '\\')) {
                        //Set name pos