Skip to content

Commit

Permalink
attempting to resolve psalm issue on 7.0 & 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SignpostMarv committed Jan 6, 2020
1 parent da49ad1 commit 520defd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions EmailValidator/EmailLexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ class EmailLexer extends AbstractLexer
*/
public $token;

/**
* The next token in the input.
*
* @var array|null
*/
public $lookahead;

/**
* @psalm-var array{value:'', type:null, position:0}
*/
Expand All @@ -106,6 +113,7 @@ class EmailLexer extends AbstractLexer
public function __construct()
{
$this->previous = $this->token = self::$nullToken;
$this->lookahead = null;
}

/**
Expand Down

0 comments on commit 520defd

Please sign in to comment.