Completed
Push — master ( f3489f...dc3ccc )
by Gabriel
01:55
created
src/TableDumperCollection.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     public function dumpDropStatements($stream): void
113 113
     {
114 114
         foreach ($this as $dumper) {
115
-            if($dumper->hasDrop()) {
115
+            if ($dumper->hasDrop()) {
116 116
                 $dumper->dumpDropStatement($stream);   
117 117
             }
118 118
         }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     public function dumpInsertStatements(PDO $db, $stream): void
130 130
     {
131 131
         foreach ($this as $dumper) {
132
-            if($dumper->hasData()) {
132
+            if ($dumper->hasData()) {
133 133
                 $dumper->dumpInsertStatement($db, $stream);
134 134
             }
135 135
         }
@@ -147,25 +147,25 @@  discard block
 block discarded – undo
147 147
      */
148 148
     public function dump(PDO $db, $stream, bool $groupDrops = false, bool $groupInserts = false): void
149 149
     {   
150
-        if($groupDrops) {
150
+        if ($groupDrops) {
151 151
             $this->dumpDropStatements($stream);
152 152
         }
153 153
 
154 154
         foreach ($this as $dumper) {
155
-            if($dumper->hasDrop() && !$groupDrops) {
155
+            if ($dumper->hasDrop() && !$groupDrops) {
156 156
                 $dumper->dumpDropStatement($stream);
157 157
             }
158 158
 
159
-            if($dumper->hasStructure()) {
159
+            if ($dumper->hasStructure()) {
160 160
                 $dumper->dumpCreateStatement($db, $stream);
161 161
             }
162 162
 
163
-            if($dumper->hasData() && !$groupInserts) {
163
+            if ($dumper->hasData() && !$groupInserts) {
164 164
                 $dumper->dumpInsertStatement($db, $stream);
165 165
             }
166 166
         }
167 167
 
168
-        if($groupInserts) {
168
+        if ($groupInserts) {
169 169
             $this->dumpInsertStatements($db, $stream);
170 170
         }
171 171
     }
Please login to merge, or discard this patch.