Passed
Push — main ( 6b0a6d...3c8d3b )
by Thierry
02:27
created
src/DbAdmin/ExportAdmin.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -285,8 +285,7 @@  discard block
 block discarded – undo
285 285
                 $row[$key] = '"' . str_replace('"', '""', $val) . '"';
286 286
             }
287 287
         }
288
-        $separator = $this->options['format'] == 'csv' ? ',' :
289
-            ($this->options['format'] == 'tsv' ? "\t" : ';');
288
+        $separator = $this->options['format'] == 'csv' ? ',' : ($this->options['format'] == 'tsv' ? "\t" : ';');
290 289
         $this->queries[] = implode($separator, $row);
291 290
     }
292 291
 
@@ -395,7 +394,7 @@  discard block
 block discarded – undo
395 394
         } else {
396 395
             if (!$this->insert) {
397 396
                 $this->insert = 'INSERT INTO ' . $this->driver->table($table) . ' (' .
398
-                    implode(', ', array_map(function ($key) {
397
+                    implode(', ', array_map(function($key) {
399 398
                         return $this->driver->escapeId($key);
400 399
                     }, $keys)) . ') VALUES';
401 400
             }
Please login to merge, or discard this patch.