Skip to content

Commit f7333a2

Browse files
committed
the method getByName doesn't need to be called with late static binding keyword 'static'
1 parent 91275df commit f7333a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MabeEnum/Enum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,6 @@ static private function detectConstants($class)
271271
*/
272272
final public static function __callStatic($method, array $args)
273273
{
274-
return static::getByName($method);
274+
return self::getByName($method);
275275
}
276276
}

0 commit comments

Comments
 (0)