@@ -44,9 +44,10 @@ |
||
44 | 44 | { |
45 | 45 | $config = $this->readConfig(); |
46 | 46 | |
47 | - foreach ($config as $name => $value) |
|
48 | - if ('%' === substr($name, 0, 1)) |
|
47 | + foreach ($config as $name => $value) { |
|
48 | + if ('%' === substr($name, 0, 1)) |
|
49 | 49 | $this->replacements[$name] = (string) $value; |
50 | + } |
|
50 | 51 | |
51 | 52 | $this->merge($app, $config); |
52 | 53 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | $json = file_get_contents($filename); |
28 | 28 | |
29 | 29 | // handle empty as [] |
30 | - if(empty($json)) { |
|
30 | + if (empty($json)) { |
|
31 | 31 | return array(); |
32 | 32 | } |
33 | 33 |