From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/libs/GenericArrayObject.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'includes/libs/GenericArrayObject.php') diff --git a/includes/libs/GenericArrayObject.php b/includes/libs/GenericArrayObject.php index d77d8ad6..db8a7ecf 100644 --- a/includes/libs/GenericArrayObject.php +++ b/includes/libs/GenericArrayObject.php @@ -33,7 +33,6 @@ * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ abstract class GenericArrayObject extends ArrayObject { - /** * Returns the name of an interface/class that the element should implement/extend. * @@ -144,7 +143,8 @@ abstract class GenericArrayObject extends ArrayObject { protected function setElement( $index, $value ) { if ( !$this->hasValidType( $value ) ) { throw new InvalidArgumentException( - 'Can only add ' . $this->getObjectType() . ' implementing objects to ' . get_called_class() . '.' + 'Can only add ' . $this->getObjectType() . ' implementing objects to ' + . get_called_class() . '.' ); } @@ -237,5 +237,4 @@ abstract class GenericArrayObject extends ArrayObject { public function isEmpty() { return $this->count() === 0; } - } -- cgit v1.2.3-54-g00ecf