Issue Bug Closed

#81290Wrong type hint in BackendUtilityHook

Kevin Ditscheid 05/22/17, 09:55 updated 10/02/18, 10:59

Description

The type hint for the $form parameter in the makeEditForm_accessCheck function sates, that it is of type \TYPO3\CMS\Backend\Controller\EditDocumentController, but this is not the case.
The \TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUserPermissionCheck class, where this hook is fired, gives itself as the $form parameter to the hook functions, and itself isn’t an extension of the \TYPO3\CMS\Backend\Controller\EditDocumentController.

Reviews 1