Skip to content

Commit e18c5c4

Browse files
derrabusnicolas-grekas
authored andcommitted
Fix inconsistent return points.
1 parent 2c1cc00 commit e18c5c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Parser/Tokenizer/TokenizerEscaping.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ private function replaceUnicodeSequences($value)
7373
if (0x10000 > $c) {
7474
return \chr(0xE0 | $c >> 12).\chr(0x80 | $c >> 6 & 0x3F).\chr(0x80 | $c & 0x3F);
7575
}
76+
77+
return '';
7678
}, $value);
7779
}
7880
}

0 commit comments

Comments
 (0)