File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ parameters:
1111 queryBuilderFastAlgorithm : true
1212 stubFiles :
1313 - stubs/ClassMetadataInfo.stub
14+ - stubs/Criteria.stub
1415 - stubs/DocumentManager.stub
1516 - stubs/DocumentRepository.stub
1617 - stubs/EntityManager.stub
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Doctrine\Common\Collections;
4+
5+ class Criteria
6+ {
7+
8+ }
Original file line number Diff line number Diff line change 22
33namespace Doctrine\ORM;
44
5+ use Doctrine\Common\Collections\Criteria;
56use Doctrine\Persistence\ObjectRepository;
67
78/**
@@ -50,4 +51,13 @@ class EntityRepository implements ObjectRepository
5051 */
5152 protected function getEntityName();
5253
54+ /**
55+ * @param \Doctrine\Common\Collections\Criteria $criteria
56+ *
57+ * @return \Doctrine\Common\Collections\Collection
58+ *
59+ * @psalm-return \Doctrine\Common\Collections\Collection<int, TEntityClass>
60+ */
61+ public function matching(Criteria $criteria);
62+
5363}
You can’t perform that action at this time.
0 commit comments