Skip to content

[BUGFIX] Fix return type of findByUid() #1232

[BUGFIX] Fix return type of findByUid()

[BUGFIX] Fix return type of findByUid() #1232

Triggered via push January 30, 2025 10:44
Status Failure
Total duration 1m 14s
Artifacts

testing.yaml

on: push
Matrix: PHP linter
TypoScript linter
10s
TypoScript linter
Matrix: PHP Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors
PHPstan: Classes/Domain/Repository/UserRepository.php#L41
Method In2code\Powermail\Domain\Repository\UserRepository::findByUid() should return In2code\Powermail\Domain\Model\User|null but returns TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface|null.
PHPstan: Classes/Domain/Repository/UserRepository.php#L41
Variable $user in PHPDoc tag @var does not exist.
PHPstan
Process completed with exit code 1.