summaryrefslogtreecommitdiff
path: root/includes/libs/GenericArrayObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/libs/GenericArrayObject.php')
-rw-r--r--includes/libs/GenericArrayObject.php5
1 files changed, 2 insertions, 3 deletions
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;
}
-
}