File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,15 +176,15 @@ private static function parseMicrosoftFilter(ParserState $oParserState)
176176 */
177177 private static function parseUnicodeRangeValue (ParserState $ oParserState )
178178 {
179- $ iCodepointMaxLenth = 6 ; // Code points outside BMP can use up to six digits
179+ $ iCodepointMaxLength = 6 ; // Code points outside BMP can use up to six digits
180180 $ sRange = "" ;
181181 $ oParserState ->consume ("U+ " );
182182 do {
183183 if ($ oParserState ->comes ('- ' )) {
184- $ iCodepointMaxLenth = 13 ; // Max length is 2 six digit code points + the dash(-) between them
184+ $ iCodepointMaxLength = 13 ; // Max length is 2 six digit code points + the dash(-) between them
185185 }
186186 $ sRange .= $ oParserState ->consume (1 );
187- } while (strlen ($ sRange ) < $ iCodepointMaxLenth && preg_match ("/[A-Fa-f0-9\?-]/ " , $ oParserState ->peek ()));
187+ } while (strlen ($ sRange ) < $ iCodepointMaxLength && preg_match ("/[A-Fa-f0-9\?-]/ " , $ oParserState ->peek ()));
188188 return "U+ {$ sRange }" ;
189189 }
190190
You can’t perform that action at this time.
0 commit comments