Skip to content

Commit 65b4bf4

Browse files
committed
Revert "Remove unneeded brackets in else-if-sentence"
This reverts commit 251e954.
1 parent 251e954 commit 65b4bf4

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)