Issue Bug Closed

#104495Provide null coalesce operator for array_pop in RestoreRegisterContentObject::render method

Thomas Hohn 07/29/24, 10:55 updated 10/15/24, 09:08

Description

Cannot assign null to property TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController::$register of type array, this
is due to the fact that the class RestoreRegisterContentObject calls array_pop in the render method which can return null
which conflicts with the constraint that $frontendController->register has type array

Reviews 3