Completed
Pull Request — master (#35)
by
unknown
02:37
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/RouteCommand.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
         $resource = $this->argument('resource');
15 15
 
16 16
         $routesPath = './routes/web.php';
17
-        if (! $this->fs->exists($routesPath))
18
-            $routesPath = './app/Http/routes.php';
17
+        if (! $this->fs->exists($routesPath)) {
18
+                    $routesPath = './app/Http/routes.php';
19
+        }
19 20
 
20 21
         $content = $this->fs->get($routesPath);
21 22
 
Please login to merge, or discard this patch.