From 4ab8e94003e0d50e0b4e9c74c8bd4fb0d45bf7b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 12 Aug 2021 14:23:45 +0200 Subject: [PATCH 1/1] Set getAlias function as static --- RapsysPackBundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RapsysPackBundle.php b/RapsysPackBundle.php index ca879af..67b26ce 100644 --- a/RapsysPackBundle.php +++ b/RapsysPackBundle.php @@ -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 -- 2.41.1