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:
11
11
queryBuilderFastAlgorithm : true
12
12
stubFiles :
13
13
- stubs/ClassMetadataInfo.stub
14
+ - stubs/Criteria.stub
14
15
- stubs/DocumentManager.stub
15
16
- stubs/DocumentRepository.stub
16
17
- 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 2
2
3
3
namespace Doctrine\ORM;
4
4
5
+ use Doctrine\Common\Collections\Criteria;
5
6
use Doctrine\Persistence\ObjectRepository;
6
7
7
8
/**
@@ -50,4 +51,13 @@ class EntityRepository implements ObjectRepository
50
51
*/
51
52
protected function getEntityName();
52
53
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
+
53
63
}
You can’t perform that action at this time.
0 commit comments