Actions
Bug #88268
closedAbstractFileFolder::$originalResource has multiple identities
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-05-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
AbstractFileFolder::$originalResource has the following type annotation:\TYPO3\CMS\Core\Resource\ResourceInterface|\TYPO3\CMS\Core\Resource\AbstractFile|\TYPO3\CMS\Core\Resource\Folder|\TYPO3\CMS\Core\Resource\FileReference
This means, it has four possible types annotated. This can be slimmed, since all classes implement \TYPO3\CMS\Core\Resource\ResourceInterface
anyway. This also affects Extbase models, where the new ClassSchema throws an exception as it can't handle multiple types.
Actions