per http://lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn...
authorDomas Mituzas <midom@users.mediawiki.org>
Sun, 28 Feb 2010 17:38:26 +0000 (17:38 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sun, 28 Feb 2010 17:38:26 +0000 (17:38 +0000)
includes/FormOptions.php

index 262c8c7..5cb9be6 100644 (file)
@@ -192,11 +192,11 @@ class FormOptions implements ArrayAccess {
        }
 
        public function offsetSet( $name, $value ) {
-               return $this->setValue( $name, $value );
+               $this->setValue( $name, $value );
        }
 
        public function offsetUnset( $name ) {
-               return $this->delete( $name );
+               $this->delete( $name );
        }
 
 }