Fix E_STRICT from I6d164e45c1e31d4f83e0fa390011c5d182eb69c3.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 10 May 2012 19:44:00 +0000 (21:44 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 10 May 2012 19:53:21 +0000 (21:53 +0200)
The error is Strict Standards: Declaration of SkinVector::addToBodyAttributes() should be compatible with that of Skin::addToBodyAttributes() in skins/Vector.php on line 71.

Change-Id: I429609359870547f3df895902909754899ec30df

skins/Vector.php

index d2f0060..04413b5 100644 (file)
@@ -61,7 +61,7 @@ class SkinVector extends SkinTemplate {
         * @param $out OutputPage object
         * @param &$bodyAttrs Array of attributes that will be set on the body element
         */
-       function addToBodyAttributes( OutputPage $out, &$bodyAttrs ) {
+       function addToBodyAttributes( $out, &$bodyAttrs ) {
                if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) {
                        $bodyAttrs['class'] .= ' ' . implode( ' ', static::$bodyClasses );
                } else {