#93439Inconsistencies in type annotations
Description
Some parts of Extbase have wrong type annotations which lead to wrong results of static code analysis
- Extbase Repository->findByUid()/findByIdentifier might return null when a non-existent uid is queried
(It might be argued, that Repositories should be generics and therefore the ‘object’ return type should be replaced by the generic type)
- Extbase AbstractDomainObject->getUid() might return null
- Extbase Mvc Request >getOriginalRequest might return null TYPO3\CMS\Core\Resource\ResourceFactory->getStorageObjectFromCombinedIdentifier might return null
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.