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) {
8888 * @param elements PsiElement...
8989 * @return MethodReference[]
9090 */
91- public static MethodReference [] parseRegistrationPhpElements (final PsiElement ... elements ) {
91+ public static MethodReference [] parseRegistrationPhpElements (final PsiElement ... elements ) { //NOPMD
9292 for (final PsiElement element : elements ) {
9393 MethodReference [] methods = PsiTreeUtil
9494 .getChildrenOfType (element , MethodReference .class );
@@ -100,7 +100,7 @@ public static MethodReference[] parseRegistrationPhpElements(final PsiElement...
100100 return methods ;
101101 }
102102 }
103- return new MethodReference [ 0 ] ;
103+ return null ;
104104 }
105105
106106 @ Nullable
You can’t perform that action at this time.
0 commit comments