Skip to content

Commit e1c7a6e

Browse files
author
epriestley
committed
Fix typo in method call
Summary: See D10435. Auditors: joshuaspence
1 parent bfc4a6a commit e1c7a6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

externals/jsonlint/src/Seld/JsonLint/JsonParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ private function popStack($n)
464464

465465
private function lex()
466466
{
467-
$token = $this->lexer->lex() ? $this->lexer->len() : 1; // $end = 1
467+
$token = $this->lexer->lex() ? $this->lexer->lex() : 1; // $end = 1
468468
// if token isn't its numeric value, convert
469469
if (!is_numeric($token)) {
470470
$token = isset($this->symbols[$token]) ? $this->symbols[$token] : $token;

0 commit comments

Comments
 (0)