summaryrefslogtreecommitdiffstats
path: root/src/Statement.php
diff options
context:
space:
mode:
authorDamian Dlugosz <bigfootdd@gmail.com>2017-02-12 15:33:24 +0100
committerDamian Dlugosz <bigfootdd@gmail.com>2017-02-12 16:25:16 +0100
commit28be60a5645a93531d7ce34e9b099f7228c3d607 (patch)
treed18e9d109a460b201dab129466cff323c6955e4c /src/Statement.php
parent677de552c8577b9eebc3f8393a25f07e4bed2f31 (diff)
downloadsql-parser-28be60a5645a93531d7ce34e9b099f7228c3d607.zip
sql-parser-28be60a5645a93531d7ce34e9b099f7228c3d607.tar.gz
sql-parser-28be60a5645a93531d7ce34e9b099f7228c3d607.tar.bz2
No useless else
Diffstat (limited to 'src/Statement.php')
-rw-r--r--src/Statement.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Statement.php b/src/Statement.php
index e778d36..1e02a02 100644
--- a/src/Statement.php
+++ b/src/Statement.php
@@ -488,9 +488,8 @@ abstract class Statement
);
return false;
- } else {
- $minIdx = $clauseStartIdx;
}
+ $minIdx = $clauseStartIdx;
} elseif ($clauseStartIdx != -1) {
$minIdx = $clauseStartIdx;
}