Breaking: #110023 - Harden type declarations
See forge#110023
See forge#110356
Description
The following PHP classes and methods now use strict type declarations instead of loose type hints (PHPdoc annotations).
This is considered a breaking change in case consumers are not adjusted for strict types.
\TYPO3\- ParameterCMS\ Backend\ Utility\ Backend Utility:: days Until $tstampcan now only be of typeintegerorDate- cast toTime Interface (int)if strings were passed to this argument before.\TYPO3\- Return type now specifiesCMS\ Backend\ Form\ Form Data Group Interface:: compile array, implementations of this interface need to declare this as well.\TYPO3\CMS\ Extbase\ Persistence\ Generic\ Query Result \TYPO3\CMS\ Extbase\ Persistence\ Query Result Interface
Impact
Using the mentioned classes or methods with wrong types will now result in a PHP exception, fatal error or warning, depending on configured error reporting.
Migration
Ensure proper PHP type declarations are used when using these classes and methods.