Skip to content

[BUGFIX] DataHandler: Change uid type from int to string #135

[BUGFIX] DataHandler: Change uid type from int to string

[BUGFIX] DataHandler: Change uid type from int to string #135

Triggered via pull request November 4, 2023 08:47
Status Failure
Total duration 57s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpstan: Classes/Hooks/DataHandler.php#L75
PHPDoc tag @param for parameter $id with type int is incompatible with native type string.
phpstan: Classes/Hooks/DataHandler.php#L207
PHPDoc tag @param for parameter $id with type int is incompatible with native type string.
phpstan: Classes/Hooks/DataHandler.php#L260
Parameter #1 $uid of method TYPO3\CMS\Extbase\Persistence\Repository::findByUid() expects int, string given.
phpstan
Process completed with exit code 1.