We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f30949 + d2e840d commit 1fca5ceCopy full SHA for 1fca5ce
src/com/magento/idea/magento2plugin/inspections/php/PluginInspection.java
@@ -323,6 +323,9 @@ private String getTargetMethodName(
323
final String pluginMethodName = pluginMethod.getName();
324
final String targetClassMethodName = pluginMethodName
325
.replace(pluginPrefix, "");
326
+ if (targetClassMethodName.isEmpty()) {
327
+ return null;
328
+ }
329
final char firstCharOfTargetName = targetClassMethodName.charAt(0);
330
final int charType = Character.getType(firstCharOfTargetName);
331
if (charType == Character.LOWERCASE_LETTER) {
0 commit comments