@@ -42,9 +42,9 @@ discard block |
||
42 | 42 | * @param string $config |
43 | 43 | * @return void |
44 | 44 | */ |
45 | - public function __construct(?ConfigInterface $config=null) |
|
45 | + public function __construct(?ConfigInterface $config = null) |
|
46 | 46 | { |
47 | - if($config !== null) { |
|
47 | + if ($config !== null) { |
|
48 | 48 | $this->config = $config->map(); |
49 | 49 | } |
50 | 50 | } |
@@ -69,8 +69,8 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function merge(Config $from): Config |
71 | 71 | { |
72 | - foreach($from as $key => $value) { |
|
73 | - if(isset($this->_store[$key]) && $this->_store[$key] instanceof Config) { |
|
72 | + foreach ($from as $key => $value) { |
|
73 | + if (isset($this->_store[$key]) && $this->_store[$key] instanceof Config) { |
|
74 | 74 | $this->_store[$key]->merge($value); |
75 | 75 | } else { |
76 | 76 | $this->_store[$key] = $value; |