Commit f01e19f9 authored by Bill Schaller's avatar Bill Schaller Committed by Steve Müller

Convert if to elseif

parent d0c44f90
...@@ -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