@@ -220,7 +220,7 @@ |
||
220 | 220 | */ |
221 | 221 | public function load() : Theme |
222 | 222 | { |
223 | - foreach ($this->directives() as $directive) { |
|
223 | + foreach ($this->directives() as $directive) { |
|
224 | 224 | $directive->load(); |
225 | 225 | } |
226 | 226 |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | |
103 | 103 | $json = json_decode($content); |
104 | 104 | |
105 | - if (! $this->isValid($json)) { |
|
105 | + if (! $this->isValid($json)) { |
|
106 | 106 | throw new InvalidComposerFileException($pack); |
107 | 107 | } |
108 | 108 | |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | { |
207 | 207 | $keys = ['name', 'description', 'type', 'require', 'authors']; |
208 | 208 | |
209 | - foreach ($keys as $k) { |
|
209 | + foreach ($keys as $k) { |
|
210 | 210 | if (! property_exists($json, $k) || $json->$k == null) { |
211 | 211 | return false; |
212 | 212 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * @param string $name |
15 | 15 | */ |
16 | 16 | public function __construct(string $theme) |
17 | - { |
|
17 | + { |
|
18 | 18 | $this->initialize($theme); |
19 | 19 | } |
20 | 20 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | const CODE = '0104'; |
10 | 10 | |
11 | 11 | public function __construct($author) |
12 | - { |
|
12 | + { |
|
13 | 13 | $this->initialize($author); |
14 | 14 | } |
15 | 15 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * @return mixed |
33 | 33 | */ |
34 | 34 | public function handle() |
35 | - { |
|
35 | + { |
|
36 | 36 | try { |
37 | 37 | |
38 | 38 | $this->clean(); |