Issue Task Closed

#93834Fixed @return annotation

TYPO3 GmbH TYPO3com 03/30/21, 13:01 updated 05/04/21, 08:07

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

Reviews 2