Actions
Bug #81290
closedWrong type hint in BackendUtilityHook
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2017-05-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
.
Actions