Skip to content

Commit afbf781

Browse files
committed
Fixed static test failures
1 parent bebd4fc commit afbf781

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/com/magento/idea/magento2plugin/reference/provider/PluginReferenceProvider.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@
1616
import com.intellij.util.ProcessingContext;
1717
import com.magento.idea.magento2plugin.indexes.PluginIndex;
1818
import com.magento.idea.magento2plugin.reference.xml.PolyVariantReferenceBase;
19-
import org.jetbrains.annotations.NotNull;
20-
2119
import java.util.ArrayList;
2220
import java.util.Collection;
2321
import java.util.List;
22+
import org.jetbrains.annotations.NotNull;
2423

2524
public class PluginReferenceProvider extends PsiReferenceProvider {
2625
@Override
2726
public @NotNull PsiReference[] getReferencesByElement(
28-
@NotNull final PsiElement element,
29-
@NotNull final ProcessingContext context
27+
@NotNull final PsiElement element,
28+
@NotNull final ProcessingContext context
3029
) {
3130
final List<PsiReference> psiReferences = new ArrayList<>();
3231
final Project project = element.getProject();
@@ -38,10 +37,10 @@ public class PluginReferenceProvider extends PsiReferenceProvider {
3837
final String originalTypeName = originalTypeTag.getAttribute("name").getValue();
3938

4039
final Collection<PsiElement> types = PluginIndex.getInstance(project).getPluginElements(
41-
originalTypeName,
42-
GlobalSearchScope.getScopeRestrictedByFileTypes(
43-
GlobalSearchScope.allScope(project), XmlFileType.INSTANCE
44-
)
40+
originalTypeName,
41+
GlobalSearchScope.getScopeRestrictedByFileTypes(
42+
GlobalSearchScope.allScope(project), XmlFileType.INSTANCE
43+
)
4544
);
4645

4746
for (final PsiElement type: types) {

0 commit comments

Comments
 (0)