Skip to content

Update ServiceEntityRepository stub#762

Open
zacharylund wants to merge 1 commit into
phpstan:2.0.xfrom
zacharylund:service-entity-repo-stub
Open

Update ServiceEntityRepository stub#762
zacharylund wants to merge 1 commit into
phpstan:2.0.xfrom
zacharylund:service-entity-repo-stub

Conversation

@zacharylund
Copy link
Copy Markdown
Contributor

@zacharylund zacharylund commented May 28, 2026

Add new methods in doctrine/doctrine-bundle v3.

In doctrine/doctrine-bundle 2.x, PHPStan reports that Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository::findBy() returns list but in 3.x, PHPStan reports that it returns array<int, Entity>.

Add new methods in doctrine/doctrine-bundle v3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant