Passed
Push — master ( fdf013...12bd2a )
by Igor
03:22
created
src/Statement.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -228,8 +228,7 @@  discard block
 block discarded – undo
228 228
                 if ($key=='data')
229 229
                 {
230 230
                     $data=$this->_rawData[$key];
231
-                }
232
-                else{
231
+                } else{
233 232
                     $this->{$key} = $this->_rawData[$key];
234 233
                 }
235 234
 
@@ -249,8 +248,7 @@  discard block
 block discarded – undo
249 248
             if ($isJSONCompact)
250 249
             {
251 250
                 $r[]=$rows;
252
-            }
253
-            else {
251
+            } else {
254 252
                 foreach ($this->meta as $meta) {
255 253
                     $r[$meta['name']] = $rows[$meta['name']];
256 254
                 }
@@ -364,7 +362,9 @@  discard block
 block discarded – undo
364 362
             return null;
365 363
         }
366 364
 
367
-        if (!$key) return $this->statistics;
365
+        if (!$key) {
366
+            return $this->statistics;
367
+        }
368 368
 
369 369
         if (!isset($this->statistics[$key])) {
370 370
             return null;
Please login to merge, or discard this patch.