Skip to content

Commit fcb8f3b

Browse files
authored
Minor code (elseif) fix
1 parent 6dee5de commit fcb8f3b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Loader/PoLoader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public function loadString(string $string, Translations $translations = null): T
3030
) {
3131
if (substr(trim($nextLine), 0, 1) === '"') { // Normal multiline
3232
$line = substr($line, 0, -1).substr(trim($nextLine), 1);
33-
}
34-
if (substr(trim($nextLine), 0, 4) === '#~ "') { // Disabled multiline
33+
} elseif (substr(trim($nextLine), 0, 4) === '#~ "') { // Disabled multiline
3534
$line = substr($line, 0, -1).substr(trim($nextLine), 4);
3635
}
3736
$nextLine = next($lines);

0 commit comments

Comments
 (0)