summaryrefslogtreecommitdiffstats
path: root/src/Components/IntoKeyword.php
diff options
context:
space:
mode:
authorBruno Perel <brunoperel@gmail.com>2018-11-26 20:02:58 +0100
committerBruno Perel <brunoperel@gmail.com>2018-11-26 20:09:00 +0100
commitef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705 (patch)
treed1025e7c4f85973ef4a92789eafb825b70ce4472 /src/Components/IntoKeyword.php
parent513ed8175bdc0fc17a192ea29757cf8fee178c2a (diff)
downloadsql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.zip
sql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.tar.gz
sql-parser-ef7968e5a80de41c2bbd5ad3d93b6f47fe3f9705.tar.bz2
Use triple (in)equalities when type compatibility is ensured
Diffstat (limited to 'src/Components/IntoKeyword.php')
-rw-r--r--src/Components/IntoKeyword.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Components/IntoKeyword.php b/src/Components/IntoKeyword.php
index dd3f7f6..c0fa390 100644
--- a/src/Components/IntoKeyword.php
+++ b/src/Components/IntoKeyword.php
@@ -207,10 +207,10 @@ class IntoKeyword extends Component
$ret->dest = $token->value;
$state = 3;
- } elseif ($state == 3) {
+ } elseif ($state === 3) {
$ret->parseFileOptions($parser, $list, $token->value);
$state = 4;
- } elseif ($state == 4) {
+ } elseif ($state === 4) {
if ($token->type === Token::TYPE_KEYWORD && $token->keyword !== 'LINES') {
break;
}