Skip to content

Commit ea2e9eb

Browse files
committed
refactor: remove useless check
1 parent c27c72b commit ea2e9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/tempest/framework/views/injection/PHPLanguageInjector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class PHPLanguageInjector : MultiHostInjector {
2828
is XmlAttributeValue -> {
2929
val attribute = element.parent as? XmlAttribute ?: return
3030

31-
if (!attribute.name.startsWith(':') || attribute.name.startsWith("::")) return
31+
if (!attribute.name.startsWith(':')) return
3232

3333
val injectableHost = element as? PsiLanguageInjectionHost ?: return
3434

0 commit comments

Comments
 (0)