Project

General

Profile

Actions

Bug #81290

closed

Wrong type hint in BackendUtilityHook

Added by Kevin Ditscheid about 7 years ago. Updated almost 6 years ago.

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #81291: Flash messages "info.elementAlreadyModified" added multiple timesNew2017-05-22

Actions
Actions

Also available in: Atom PDF