Completed
Push — master ( d7ad49...195bcc )
by Gabriel
02:31
created
src/TableDumper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      */
159 159
     public function dumpCreateStatement(PDO $db, $stream): void 
160 160
     {
161
-        if(!$this->hasStructure()) return;
161
+        if (!$this->hasStructure()) return;
162 162
 
163 163
         $stmt = $db->query('SHOW CREATE TABLE `'.$this->table->getName().'`');
164 164
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      */
177 177
     public function dumpDropStatement($stream): void
178 178
     {
179
-        if(!$this->hasDrop()) return;
179
+        if (!$this->hasDrop()) return;
180 180
 
181 181
         fwrite($stream, 'DROP TABLE IF EXISTS `'.$this->table->getName()."`;\r\n");
182 182
     }
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      */
192 192
     public function dumpInsertStatement(PDO $db, $stream): void
193 193
     {
194
-        if(!$this->hasData()) return;
194
+        if (!$this->hasData()) return;
195 195
 
196 196
         $dataDumper = new TableDataDumper($this);
197 197
         $dataDumper->dump($db, $stream);
Please login to merge, or discard this patch.