Skip to content

Commit 76cfade

Browse files
committed
provide placeholder completion for Symfony translation contract implementation
1 parent 1df05d0 commit 76cfade

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/translation/TranslationPlaceholderGotoCompletionRegistrar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public GotoCompletionProvider getProvider(@NotNull PsiElement psiElement) {
106106

107107
MethodMatcher.MethodMatchParameter match = new MethodMatcher.ArrayParameterMatcher(context, placeHolderParameter)
108108
.withSignature("Symfony\\Component\\Translation\\TranslatorInterface", method)
109+
.withSignature("Symfony\\Contracts\\Translation\\TranslatorInterface", method)
109110
.match();
110111

111112
if (match == null) {

0 commit comments

Comments
 (0)