Permalink
Browse files

typo

  • Loading branch information...
dg committed Feb 5, 2019
1 parent b3c3e04 commit 290db35fed39ba469be3ef2305dca4c2f69fd401
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Tokenizer/Tokenizer.php
@@ -41,7 +41,7 @@ public function tokenize(string $input): Stream
{
preg_match_all($this->re, $input, $tokens, PREG_SET_ORDER);
if (preg_last_error()) {
throw new TokenizerException(array_flip(get_defined_constants(true)['pcre'])[preg_last_error()]);
throw new Exception(array_flip(get_defined_constants(true)['pcre'])[preg_last_error()]);
}
$len = 0;
$count = count($this->types);

0 comments on commit 290db35

Please sign in to comment.