Skip to content

Commit a9bb990

Browse files
kevinpapstondrejmirtes
authored andcommitted
EntityRepository::count returns positive int - fixes #603
1 parent 6632f38 commit a9bb990

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stubs/EntityRepository.stub

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,11 @@ class EntityRepository implements ObjectRepository
7171
*/
7272
public function createQueryBuilder($alias, $indexBy = null);
7373

74+
/**
75+
* @param array<string, mixed> $criteria
76+
*
77+
* @return int<0, max>
78+
*/
79+
public function count(array $criteria);
80+
7481
}

0 commit comments

Comments
 (0)