From: Aaron Schulz Date: Tue, 6 May 2008 01:08:45 +0000 (+0000) Subject: E_STRICT X-Git-Tag: 1.31.0-rc.0~47877 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=1949b1c5e377d79d8443617ce6971993da5224c9;p=lhc%2Fweb%2Fwiklou.git E_STRICT --- diff --git a/includes/Preprocessor_Hash.php b/includes/Preprocessor_Hash.php index cb2d255b21..63195152c8 100644 --- a/includes/Preprocessor_Hash.php +++ b/includes/Preprocessor_Hash.php @@ -1222,7 +1222,7 @@ class PPNode_Hash_Tree implements PPNode { } } - function newWithText( $name, $text ) { + static function newWithText( $name, $text ) { $obj = new self( $name ); $obj->addChild( new PPNode_Hash_Text( $text ) ); return $obj;