[BUGFIX] Fixed @return annotation
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 Releases: master, 10.4 Resolves: #93834 Relates: #88608 Change-Id: I9a01c232ac456ebfba7aa10f0946c3d639b2f47e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68656 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Please register or sign in to comment