This commit is contained in:
Fabien Potencier
2022-08-12 08:33:05 +02:00
parent 25283066ab
commit f2cb718bdb
+2 -2
View File
@@ -207,13 +207,13 @@ class ParentMagicCallStub
{
public static function identifier()
{
throw new \Exception('Identifier has not been defined');
throw new \Exception('Identifier has not been defined.');
}
public static function __callStatic($method, $arguments)
{
if ('magicStaticCall' !== $method) {
throw new \BadMethodCallException('Unexpected call to __callStatic');
throw new \BadMethodCallException('Unexpected call to __callStatic.');
}
return 'inherited_static_magic_'.static::identifier().'_'.$arguments[0];