[TASK] Avoid implicitly nullable class method parameter in `EXT:linkvalidator`
With PHP 8.4 marking method parameter implicitly nullable is deprecated and will emit a `E_DEPRECATED` warning. One recommended way to resolve this, is making it explicitly nullable using the `?` nullable operator or adding a null tyype to an union type definition. [1] This prepares the way towards PHP 8.4 compatibility. [1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Resolves: #104210 Releases: main, 12.4, 11.5 Change-Id: Id20216f2b920b5f5c0d665a370536c447590f53c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84916 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/linkvalidator/Classes/Controller/LinkValidatorController.php 1 addition, 1 deletion...kvalidator/Classes/Controller/LinkValidatorController.php
- typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php 1 addition, 1 deletion...linkvalidator/Classes/Repository/BrokenLinkRepository.php
Please register or sign in to comment