[TASK] Note nullable parameters and returns as such
Based on the code, these parameters are nullable. The doc comments should reflect that. Doing so eliminates several PHPStan warnings. Whether these parameters ought to be nullable is a question for another time. Resolves: #97648 Releases: main, 11.5 Change-Id: Id0cc51d159ebb0321e94f7fb77a5d560950cfb05 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74791 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- Build/phpstan/phpstan-baseline.neon 1 addition, 41 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 1 addition, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/ReferenceIndex.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/ReferenceIndex.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php 1 addition, 1 deletion...xt/extbase/Classes/Persistence/Generic/Mapper/DataMap.php
- typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php 1 addition, 1 deletion.../sysext/form/Classes/Domain/Finishers/ClosureFinisher.php
Please register or sign in to comment