Skip to content

Commit

Permalink
Fixed debug message (ref #2523)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Nov 7, 2019
1 parent 96e69bb commit 200eae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tokenizers/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ protected function processAdditional()
if ($scopeCloser !== $numTokens) {
if (PHP_CODESNIFFER_VERBOSITY > 1) {
$line = $this->tokens[$i]['line'];
echo "\t* token $i on line $line changed from T_STRING to T_FN".PHP_EOL;
echo "\t* token $i on line $line processed as arrow function".PHP_EOL;
}

$this->tokens[$i]['code'] = T_FN;
Expand Down

0 comments on commit 200eae5

Please sign in to comment.