Skip to content

Commit 58874f1

Browse files
committed
#2115 support Autocomplete in Doctrine repository's count()
1 parent eaa5295 commit 58874f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/doctrine/metadata/ObjectRepositoryFindGotoCompletionRegistrar.java

+2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ public void register(@NotNull GotoCompletionRegistrarParameter registrar) {
4141
MethodMatcher.MethodMatchParameter methodMatchParameter = new MethodMatcher.ArrayParameterMatcher(context, 0)
4242
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "findOneBy")
4343
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "findBy")
44+
.withSignature("\\Doctrine\\Common\\Persistence\\ObjectRepository", "count")
4445
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "findOneBy")
4546
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "findBy")
47+
.withSignature("\\Doctrine\\Persistence\\ObjectRepository", "count")
4648
.match();
4749

4850
if(methodMatchParameter != null) {

0 commit comments

Comments
 (0)