E_STRICT
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 6 May 2008 01:08:45 +0000 (01:08 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 6 May 2008 01:08:45 +0000 (01:08 +0000)
includes/Preprocessor_Hash.php

index cb2d255..6319515 100644 (file)
@@ -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;