Passed
Push — main ( 7dd0c5...b31323 )
by Thierry
01:58
created
src/DbAdmin/Traits/DbDumpTrait.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
                 $row[$key] = '"' . str_replace('"', '""', $val) . '"';
54 54
             }
55 55
         }
56
-        $separator = $this->options['format'] === 'csv' ? ',' :
57
-            ($this->options['format'] === 'tsv' ? "\t" : ';');
56
+        $separator = $this->options['format'] === 'csv' ? ',' : ($this->options['format'] === 'tsv' ? "\t" : ';');
58 57
         $this->queries[] = implode($separator, $row);
59 58
     }
60 59
 
@@ -203,7 +202,7 @@  discard block
 block discarded – undo
203 202
         }
204 203
         if (!$this->insert) {
205 204
             $this->insert = 'INSERT INTO ' . $this->driver->table($table) . ' (' .
206
-                implode(', ', array_map(function ($key) {
205
+                implode(', ', array_map(function($key) {
207 206
                     return $this->driver->escapeId($key);
208 207
                 }, $keys)) . ') VALUES';
209 208
         }
Please login to merge, or discard this patch.