Project

General

Profile

Actions

Task #93834

closed

Fixed @return annotation

Added by TYPO3 GmbH TYPO3com about 3 years ago. Updated almost 3 years ago.

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

Also available in: Atom PDF