Support masking the WRITE_SYNC latency from ChronologyProtector
[lhc/web/wiklou.git] / includes / libs / GenericArrayObject.php
index dec55c9..76e23cf 100644 (file)
@@ -144,7 +144,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 . '.'
                        );
                }