File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/com/magento/idea/magento2plugin/util/magento Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private static String getName(final PsiElement... childElements) {
88
88
* @param elements PsiElement...
89
89
* @return MethodReference[]
90
90
*/
91
- public static MethodReference [] parseRegistrationPhpElements (final PsiElement ... elements ) {
91
+ public static MethodReference [] parseRegistrationPhpElements (final PsiElement ... elements ) { //NOPMD
92
92
for (final PsiElement element : elements ) {
93
93
MethodReference [] methods = PsiTreeUtil
94
94
.getChildrenOfType (element , MethodReference .class );
@@ -100,7 +100,7 @@ public static MethodReference[] parseRegistrationPhpElements(final PsiElement...
100
100
return methods ;
101
101
}
102
102
}
103
- return new MethodReference [ 0 ] ;
103
+ return null ;
104
104
}
105
105
106
106
@ Nullable
You can’t perform that action at this time.
0 commit comments