File tree 1 file changed +3
-3
lines changed 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)
176
176
*/
177
177
private static function parseUnicodeRangeValue (ParserState $ oParserState )
178
178
{
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
180
180
$ sRange = "" ;
181
181
$ oParserState ->consume ("U+ " );
182
182
do {
183
183
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
185
185
}
186
186
$ 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 ()));
188
188
return "U+ {$ sRange }" ;
189
189
}
190
190
You can’t perform that action at this time.
0 commit comments