File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/com/magento/idea/magento2plugin/util/php Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public static List<Method> getMethodsByNames(
135135 *
136136 * @return String
137137 */
138- @ SuppressWarnings ({"PMD.CyclomaticComplexity" , "PMD.NPathComplexity" })
138+ @ SuppressWarnings ({"PMD.CyclomaticComplexity" , "PMD.NPathComplexity" , "PMD.ConfusingTernary" })
139139 public static String getMethodDefinitionForInterface (
140140 final @ NotNull Method method ,
141141 final String defaultMethodDescription
@@ -152,9 +152,9 @@ public static String getMethodDefinitionForInterface(
152152
153153 if (methodDoc != null ) {
154154 methodDescription = getShortDescription (method );
155- methodDocReturn = methodDoc .getReturnTag () ! = null
156- ? methodDoc . getReturnTag (). getText ()
157- : null ;
155+ methodDocReturn = methodDoc .getReturnTag () = = null
156+ ? null
157+ : methodDoc . getReturnTag (). getText () ;
158158 }
159159
160160 if (methodDescription .isEmpty () && defaultMethodDescription != null ) {
You can’t perform that action at this time.
0 commit comments