From 1949b1c5e377d79d8443617ce6971993da5224c9 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 6 May 2008 01:08:45 +0000 Subject: [PATCH] E_STRICT --- includes/Preprocessor_Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1