]> Raphaƫl G. Git Repositories - userbundle/blobdiff - RapsysUserBundle.php
Set as static
[userbundle] / 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