Commit a22c1bf4 authored by Bill Schaller's avatar Bill Schaller

Convert if to elseif

parent c05d0eb6
...@@ -1270,8 +1270,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -1270,8 +1270,7 @@ class SQLServerPlatform extends AbstractPlatform
while ($parenCount >= 0 && $currentPosition >= 0) { while ($parenCount >= 0 && $currentPosition >= 0) {
if ($query[$currentPosition] === '(') { if ($query[$currentPosition] === '(') {
$parenCount--; $parenCount--;
} } elseif ($query[$currentPosition] === ')') {
if ($query[$currentPosition] === ')') {
$parenCount++; $parenCount++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment