Actions
Task #93834
closedFixed @return annotation
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-03-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
current() returns FALSE if array is empty or internal array pointer is beyond the end.
Without this change, this currently leads to the following exception:
Return value of TYPO3\CMS\Extbase\Error\Result::getFirstError() must be an instance of TYPO3\CMS\Extbase\Error\Error, bool returned
This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/302
Actions