#104793Fatal error when overwriting defaultViewObjectName
Description
Only happens in current-main (since https://github.com/TYPO3/typo3/commit/c22b72cde6838f4a080a22bde25b9f3632337169).
Fatal error: Type of MyNamespace\Controller\MyController::$defaultViewObjectName must be ?string (as in class TYPO3\CMS\Extbase\Mvc\Controller\ActionController)
This error happens since https://review.typo3.org/c/Packages/TYPO3.CMS/+/85735/ changed string to ?string in https://review.typo3.org/c/Packages/TYPO3.CMS/+/85735/60/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php#97.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.