Completed
Push — master ( 4d49f2...b9481e )
by Prateek
05:48 queued 03:41
created
src/Models/DataOption.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,10 +50,14 @@
 block discarded – undo
50 50
     {
51 51
         if ($this->hasSpecialSchema()) {
52 52
             $schema = $this->processSpecialSchema();
53
-        }else{
53
+        } else{
54 54
             foreach ($this->optionArray as $option) {
55
-                if ($option == self::COLUMN_UNIQUE)         $this->hasUnique();
56
-                if (is_numeric($option) && $option <= 2048) $this->hasSize((int)$option);
55
+                if ($option == self::COLUMN_UNIQUE) {
56
+                    $this->hasUnique();
57
+                }
58
+                if (is_numeric($option) && $option <= 2048) {
59
+                    $this->hasSize((int)$option);
60
+                }
57 61
             }
58 62
 
59 63
             $schema = '$table->' . $this->getType() . "('{$this->column}'";
Please login to merge, or discard this patch.