From 4f8868b91ea5ac588205984679ecbed8e2a81677 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Sat, 3 Oct 2015 17:00:26 +0300 Subject: [PATCH] Minor code improvements. --- src/Components/PartitionDefinition.php | 1 - src/Lexer.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; }