[BUGFIX] Wrong usage of count on SimpleXMLElement 50/33250/3
authorStefan Froemken <froemken@gmail.com>
Fri, 10 Oct 2014 12:00:04 +0000 (14:00 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 11 Oct 2014 15:27:33 +0000 (17:27 +0200)
commitbf338a6d1f60f746966d22d475784aaeb7798cee
tree71dc28db372e8f6ca027632ac7501dd4809199eb
parentf371f1dc906edc1869a298b3b5fbc327358eec2c
[BUGFIX] Wrong usage of count on SimpleXMLElement

SimpleXMLElement comes with its own count implementation,
so no need to call count() on that Element.
Further I have updated some type annotations.

Resolves: #62130
Releases master,6.2
Change-Id: I2d52d54172d2898a89f0649330dc37ebddfe40c7
Reviewed-on: http://review.typo3.org/33250
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Localization/Parser/LocallangXmlParser.php