Passed
Push — 5.1 ( d12c7f...922161 )
by liu
07:33
created
library/think/db/builder/Mysql.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,7 @@
 block discarded – undo
130 130
             list($field, $name) = explode('->>', $key, 2);
131 131
 
132 132
             return $this->parseKey($query, $field, true) . '->>\'$' . (strpos($name, '[') === 0 ? '' : '.') . str_replace('->>', '.', $name) . '\'';
133
-        }
134
-        elseif (strpos($key, '->') && false === strpos($key, '(')) {
133
+        } elseif (strpos($key, '->') && false === strpos($key, '(')) {
135 134
             // JSON字段支持
136 135
             list($field, $name) = explode('->', $key, 2);
137 136
 
Please login to merge, or discard this patch.