Review 10.4 Merged

68863[BUGFIX] Fixed @return annotation

Daniel Goerz CR +2 V +2 Easy +17 −6 updated 04/28/21, 07:05

Commit message

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

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2