Skip to content

Commit 574b638

Browse files
Merge branch '4.4.0-develop' into pre-release-4.4.0
2 parents 3200c52 + 84ee9aa commit 574b638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/lang/php/MagentoProxyDeclarationFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private <E extends PhpNamedElement> boolean isValidFqn(final E candidate) {
5858
PhpClass targetClass = null;
5959

6060
if (candidate instanceof Method) {
61-
targetClass = (PhpClass) candidate.getParent();
61+
targetClass = ((Method) candidate).getContainingClass();
6262
} else if (candidate instanceof PhpClass) {
6363
targetClass = (PhpClass) candidate;
6464
}

0 commit comments

Comments
 (0)