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.
1 parent 18b03d4 commit e99c026Copy full SHA for e99c026
src/com/magento/idea/magento2uct/versioning/VersionStateManager.java
@@ -227,7 +227,7 @@ private void compute(final VersionStateIndex index) {
227
*/
228
private String escapeFqn(final @NotNull String fqn) {
229
return MagentoTypeEscapeUtil.escape(
230
- fqn.trim().charAt(0) == '\\' ? fqn.trim() : '\\' + fqn.trim()
+ fqn.trim().length() > 0 && fqn.trim().charAt(0) == '\\' ? fqn.trim() : '\\' + fqn.trim()
231
);
232
}
233
0 commit comments