X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FGenericArrayObject.php;h=f76d9a2e8d2c5b57a1603507f2e5d935e4322b91;hb=6c9a2923fe1ee3a65cb027be5e781772f2b12fbd;hp=dec55c95406cb818efd9f28f29f672e4994714ad;hpb=6e9b4f0e9ce4ccd6089c18b205065ef7fa077484;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/GenericArrayObject.php b/includes/libs/GenericArrayObject.php index dec55c9540..f76d9a2e8d 100644 --- a/includes/libs/GenericArrayObject.php +++ b/includes/libs/GenericArrayObject.php @@ -67,7 +67,6 @@ abstract class GenericArrayObject extends ArrayObject { } /** - * Constructor. * @see ArrayObject::__construct * * @since 1.20 @@ -144,7 +143,7 @@ abstract class GenericArrayObject extends ArrayObject { if ( !$this->hasValidType( $value ) ) { throw new InvalidArgumentException( 'Can only add ' . $this->getObjectType() . ' implementing objects to ' - . get_called_class() . '.' + . static::class . '.' ); }