Actions
Bug #54807
closedIndexed Search PageBrowsing ViewHelper defines unused method argument in phpdoc comments
Start date:
2014-01-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
The PHP-Doc comments for the render-method in PageBrowsing Viewhelper on Indexed Search define a $details argument for that method with is then not part of the method arguments itself.
As it seems to be unused the argument definition should simply be removed from doc comments to dont mess up the defintions of the other arguments.
Right now this results in maximumNumberOfResultPages be defined as array and causes a fatal error like:
The argument "maximumNumberOfResultPages" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper"
Actions