From: Alexandre Emsenhuber Date: Thu, 10 May 2012 19:44:00 +0000 (+0200) Subject: Fix E_STRICT from I6d164e45c1e31d4f83e0fa390011c5d182eb69c3. X-Git-Tag: 1.31.0-rc.0~23643^2 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=097bd24fb0469553cacc50a7426d7b84bdd12bb0;p=lhc%2Fweb%2Fwiklou.git Fix E_STRICT from I6d164e45c1e31d4f83e0fa390011c5d182eb69c3. 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 --- diff --git a/skins/Vector.php b/skins/Vector.php index d2f0060748..04413b5bc6 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -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 {