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 Sep 1, 2019
1 parent 7a8e64f commit 601ca97
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 601ca97

Please sign in to comment.