diff --git a/src/Components/PartitionDefinition.php b/src/Components/PartitionDefinition.php index bc30f61f0..8c54e22f8 100644 --- a/src/Components/PartitionDefinition.php +++ b/src/Components/PartitionDefinition.php @@ -10,7 +10,6 @@ */ namespace SqlParser\Components; -use SqlParser\Context; use SqlParser\Component; use SqlParser\Parser; use SqlParser\Token; diff --git a/src/Lexer.php b/src/Lexer.php index 9e99b60c8..8c609db08 100644 --- a/src/Lexer.php +++ b/src/Lexer.php @@ -171,7 +171,7 @@ class Lexer */ public static function getTokens($str, $strict = false, $delimiter = null) { - $lexer = new Lexer($str); + $lexer = new Lexer($str, $strict, $delimiter); return $lexer->list; }