From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 11:29:28 +0000 (+0200) Subject: Set as static X-Git-Tag: 0.2.0~51 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/a858bf15e799045a63e30d74dda1c0b7548daf48 Set as static --- diff --git a/RapsysUserBundle.php b/RapsysUserBundle.php index b347c51..627ad61 100644 --- a/RapsysUserBundle.php +++ b/RapsysUserBundle.php @@ -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