Completed
Pull Request — master (#61)
by
unknown
08:04 queued 10s
created
src/Template/Template.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,9 @@
 block discarded – undo
33 33
 
34 34
 	public function with($data = [])
35 35
 	{
36
-		if($data)
37
-			$this->dirty = true;
36
+		if($data) {
37
+					$this->dirty = true;
38
+		}
38 39
 		foreach ($data as $key => $value) {
39 40
 			$this->data[$key] = $value;
40 41
 		}
Please login to merge, or discard this patch.
src/Commands/MigrationCommand.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,10 +74,11 @@
 block discarded – undo
74 74
             $lines[] = $this->spaces(12) . "\$table->{$add}();";
75 75
         }
76 76
 
77
-        if(!empty($lines))
78
-            return implode(PHP_EOL, $lines);
79
-        else
80
-            return "";
77
+        if(!empty($lines)) {
78
+                    return implode(PHP_EOL, $lines);
79
+        } else {
80
+                    return "";
81
+        }
81 82
     }
82 83
 
83 84
     protected function getFieldDeclaration($parts)
Please login to merge, or discard this patch.