@@ -18,7 +18,9 @@ |
||
18 | 18 | { |
19 | 19 | $theme = $this->base()->current(); |
20 | 20 | |
21 | - if ($theme == null) return false; |
|
21 | + if ($theme == null) { |
|
22 | + return false; |
|
23 | + } |
|
22 | 24 | |
23 | 25 | return $theme->load(); |
24 | 26 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | protected function registerPublic() |
25 | 25 | { |
26 | - Blade::directive('public', function ($file) { |
|
26 | + Blade::directive('public', function($file) { |
|
27 | 27 | $file = str_replace("'", "", $file); |
28 | 28 | $domain = $this->base()->current()->public(); |
29 | 29 | return "$domain/$file"; |
@@ -60,9 +60,9 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | $this->theme($theme) |
63 | - ->author($author) |
|
64 | - ->description($desc) |
|
65 | - ->build(); |
|
63 | + ->author($author) |
|
64 | + ->description($desc) |
|
65 | + ->build(); |
|
66 | 66 | |
67 | 67 | $this->base()->clearCache(); |
68 | 68 |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $desc = $this->askDescription(); |
56 | 56 | $cmd->description($desc); |
57 | 57 | |
58 | - if (! $this->beSure($theme, $author, $desc)) { |
|
58 | + if (!$this->beSure($theme, $author, $desc)) { |
|
59 | 59 | return false; |
60 | 60 | } |
61 | 61 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | { |
123 | 123 | $answer = $this->ask($question->ask); |
124 | 124 | |
125 | - return (! $answer || empty($answer)) ? $question->default : $answer; |
|
125 | + return (!$answer || empty($answer)) ? $question->default : $answer; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
@@ -50,8 +50,8 @@ |
||
50 | 50 | $args = $this->getArguments(); |
51 | 51 | |
52 | 52 | $component = $this->theme($args->theme) |
53 | - ->component($args->name) |
|
54 | - ->create(); |
|
53 | + ->component($args->name) |
|
54 | + ->create(); |
|
55 | 55 | |
56 | 56 | $this->base()->clearCache(); |
57 | 57 |