From a858bf15e799045a63e30d74dda1c0b7548daf48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 12 Aug 2021 13:29:28 +0200 Subject: [PATCH] Set as static --- RapsysUserBundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.0