Skip to content

Commit 251e954

Browse files
committed
Remove unneeded brackets in else-if-sentence
1 parent 1f0da21 commit 251e954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Phpbb/TranslationValidator/Validator/LangKeyValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public function validateHtml($file, $key, $sourceString, $originString)
695695
}
696696
$failedUnclosed = true;
697697
}
698-
else if ((substr($possibleHtml, -3) !== ' />') && !in_array($tag, $allowedMissingClosingTag))
698+
else if (substr($possibleHtml, -3) !== ' />') && !in_array($tag, $allowedMissingClosingTag)
699699
{
700700
$openTags[] = $tag;
701701
}

0 commit comments

Comments
 (0)