From 2f95b102f564efedce90c3fca45cb27d117ce26c Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 9 Dec 2015 12:56:30 -0500 Subject: [PATCH] Fix PPNode_Hash_Tree::getChildrenOfType return value PPNode defines it as returning an array-type PPNode, not an array. Change-Id: I9a6c5cea408aae449bfbf808d067837c4337c672 --- includes/parser/Preprocessor_Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Preprocessor_Hash.php b/includes/parser/Preprocessor_Hash.php index 4f124147e2..14292a59b1 100644 --- a/includes/parser/Preprocessor_Hash.php +++ b/includes/parser/Preprocessor_Hash.php @@ -1745,7 +1745,7 @@ class PPNode_Hash_Tree implements PPNode { $children[] = $child; } } - return $children; + return new PPNode_Hash_Array( $children ); } /** -- 2.20.1