[BUGFIX] Fix return type of findByUid() #1232
testing.yaml
on: push
Matrix: PHP linter
TypoScript linter
10s
Matrix: PHP Unit Tests
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.
|