@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function addConfig($params, array $options = [], string $parseClass = self::INI, bool $replace = true): void |
44 | 44 | { |
45 | - $params = (array)$params; |
|
45 | + $params = (array) $params; |
|
46 | 46 | |
47 | 47 | if (!class_exists($parseClass)) { |
48 | 48 | throw new \Exception(sprintf('Not found parse class: %s', $parseClass)); |
@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | $this->config[$namespace] = []; |
94 | 94 | } |
95 | 95 | if ($replace === true) { |
96 | - $this->config[$namespace] = \array_merge_recursive_distinct((array)$this->config[$namespace], $result); |
|
96 | + $this->config[$namespace] = \array_merge_recursive_distinct((array) $this->config[$namespace], $result); |
|
97 | 97 | } else { |
98 | - $this->config[$namespace] = \array_merge_recursive_distinct($result, (array)$this->config[$namespace]); |
|
98 | + $this->config[$namespace] = \array_merge_recursive_distinct($result, (array) $this->config[$namespace]); |
|
99 | 99 | } |
100 | 100 | } |
101 | 101 | } |