summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-08 15:22:30 -0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-08 15:22:30 -0300
commitce4e30eae3f25af632ae88c58e493fbee188cda4 (patch)
treec36cc5e5fad959d446ca3c137a376d09e1d7add8 /src
parent59af8990ed2ede94d4ba1c441954a95086c4c36b (diff)
downloadsql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.zip
sql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.tar.gz
sql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.tar.bz2
Fix errors detected by PHPStan at level 0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'src')
-rw-r--r--src/Statement.php2
-rw-r--r--src/Statements/SelectStatement.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Statement.php b/src/Statement.php
index 439eb13..e7238f2 100644
--- a/src/Statement.php
+++ b/src/Statement.php
@@ -56,6 +56,8 @@ abstract class Statement
*/
public static $CLAUSES = [];
+ public static $END_OPTIONS = [];
+
/**
* The options of this query.
*
diff --git a/src/Statements/SelectStatement.php b/src/Statements/SelectStatement.php
index dab8db4..a770227 100644
--- a/src/Statements/SelectStatement.php
+++ b/src/Statements/SelectStatement.php
@@ -10,6 +10,7 @@ use PhpMyAdmin\SqlParser\Components\ArrayObj;
use PhpMyAdmin\SqlParser\Components\Condition;
use PhpMyAdmin\SqlParser\Components\Expression;
use PhpMyAdmin\SqlParser\Components\FunctionCall;
+use PhpMyAdmin\SqlParser\Components\IndexHint;
use PhpMyAdmin\SqlParser\Components\IntoKeyword;
use PhpMyAdmin\SqlParser\Components\JoinKeyword;
use PhpMyAdmin\SqlParser\Components\Limit;