X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2FGenericArrayObject.php;h=db8a7ecfba1abb467597ff03aa3f15a30bfe4411;hb=16a9dd96bd5d7bec87c83d47fb954f2e7934dffe;hp=d77d8ad630d085202a78b39417fece11b0224c3f;hpb=9e2a081fcc286cb5486b2b73aba16908953e5873;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/GenericArrayObject.php b/includes/libs/GenericArrayObject.php index d77d8ad630..db8a7ecfba 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; } - }