diff --git a/typo3/sysext/form/Documentation/I/ApiReference/Index.rst b/typo3/sysext/form/Documentation/I/ApiReference/Index.rst index b9ee8667461059e5d68703622d080e637238910b..9f2e214253190e10935cad3239f46ced927dc06f 100644 --- a/typo3/sysext/form/Documentation/I/ApiReference/Index.rst +++ b/typo3/sysext/form/Documentation/I/ApiReference/Index.rst @@ -1592,12 +1592,12 @@ Use the hook /** * @param \TYPO3\CMS\Form\Domain\Runtime\FormRuntime $formRuntime - * @param \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $currentPage + * @param null|\TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $currentPage * @param null|\TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $lastPage * @param mixed $elementValue submitted value of the element *before post processing* - * @return \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface + * @return null|\TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface */ - public function afterInitializeCurrentPage(\TYPO3\CMS\Form\Domain\Runtime\FormRuntime $formRuntime, \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $currentPage, \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $lastPage = null, array $requestArguments = []): \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface + public function afterInitializeCurrentPage(\TYPO3\CMS\Form\Domain\Runtime\FormRuntime $formRuntime, \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $currentPage = null, \TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface $lastPage = null, array $requestArguments = []): ?\TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface { return $currentPage; }