Completed
Push — master ( 98a82f...7bd861 )
by Márcio Lucas R.
11s
created
src/Phiber/ORM/Persistence/TableMySql.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 
194 194
             /**
195 195
              * @todo NOT NULL AQUI
196
-            */
196
+             */
197 197
 
198 198
             if (array_key_exists('notNull', $arrFormatado)) {
199 199
                 if ($arrFormatado['notNull'] === "true") {
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,10 +238,11 @@
 block discarded – undo
238 238
                 $stringAlterTable .= "CHANGE `" . $columnsTabela[$i]['Field'] . "` `$atributosTabela[$i]` ";
239 239
                 $stringAlterTable .= strtoupper($arrFinal[$i]['type']) . "(" . $arrFinal[$i]['size'] . ")\n";
240 240
 
241
-                if ($arrFinal[$i])
242
-
241
+                if ($arrFinal[$i]) {
242
+                
243 243
                     if ($i != count($arrFinal) - 1) {
244 244
                         $stringAlterTable .= ", \n";
245
+                }
245 246
                     }
246 247
             } else {
247 248
                 $stringAlterTable .= "CHANGE  `$atributosTabela[$i]` `$atributosTabela[$i]` ";
Please login to merge, or discard this patch.