Skip to content

Commit

Permalink
#2115 support Autocomplete in Doctrine repository's count()
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed May 9, 2023
1 parent eaa5295 commit 58874f1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ public void register(@NotNull GotoCompletionRegistrarParameter registrar) {
MethodMatcher.MethodMatchParameter methodMatchParameter = new MethodMatcher.ArrayParameterMatcher(context, 0)
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "findOneBy")
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "findBy")
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "count")
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "findOneBy")
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "findBy")
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "count")
.match();

if(methodMatchParameter != null) {
Expand Down

0 comments on commit 58874f1

Please sign in to comment.