Fix wrong return value in Preprocessor::getChildrenOfType
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 5 Aug 2012 20:14:45 +0000 (22:14 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 5 Aug 2012 20:14:45 +0000 (22:14 +0200)
commit91c3d5c6c581dc21adb0db5038626bc526927011
tree04fd0e0aa0d7978e0a4c90599a49ef7e82fdc0f9
parent8c9388f6947fbc8120243bed652057854f130869
Fix wrong return value in Preprocessor::getChildrenOfType

I am not sure, but this looks wrong, because it adds the type to the
array and not the child.
This method is unused in core and wmf extensions, maybe
removing/deprecating is a better idea, but I am not sure, if that is
possible.
I have only see this possible error, while looking through the
preprocessor.

Change-Id: I5b7492d455989a8a3e71b5db6d31091b986c502a
includes/parser/Preprocessor_Hash.php
includes/parser/Preprocessor_HipHop.hphp