dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4618f70
)
Fix PPNode_Hash_Tree::getChildrenOfType return value
author
Brad Jorsch
<bjorsch@wikimedia.org>
Wed, 9 Dec 2015 17:56:30 +0000
(12:56 -0500)
committer
Reedy
<reedy@wikimedia.org>
Thu, 17 Dec 2015 22:18:14 +0000
(22:18 +0000)
PPNode defines it as returning an array-type PPNode, not an array.
Change-Id: I9a6c5cea408aae449bfbf808d067837c4337c672
includes/parser/Preprocessor_Hash.php
patch
|
blob
|
history
diff --git
a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index
4f12414
..
14292a5
100644
(file)
--- 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 )
;
}
/**