From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 12:23:45 +0000 (+0200) Subject: Set getAlias function as static X-Git-Tag: 0.2.0~21 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/4ab8e94003e0d50e0b4e9c74c8bd4fb0d45bf7b4 Set getAlias function as static --- 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