Issue Bug Closed

#103949ProcessedFile::getSize returns 0

Johannes Nielsen 05/29/24, 11:37 updated 05/29/24, 20:51

Description

The method TYPO3\CMS\Core\Resource\ProcessedFile::getSize declares its return type to be int. However, it calls parent::getSize whose return type is int|null. This can lead to exceptions.
This is already fixed in v13 (see this revision: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80002). Maybe this could be backported?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.