]> Raphaƫl G. Git Repositories - packbundle/blobdiff - RapsysPackBundle.php
Set getAlias function as static
[packbundle] / RapsysPackBundle.php
index ca879af6cfdc39050e1166ea57907c1ae2a65e81..67b26ce0bf57812df969222467d3cc0c0f62ac22 100644 (file)
@@ -23,7 +23,7 @@ class RapsysPackBundle 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