Passed
Pull Request — master (#1)
by Enjoys
13:43
created
src/Config.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function addConfig($params, array $options = [], string $parseClass = self::INI, bool $replace = true): void
40 40
     {
41
-        $params = (array)$params;
41
+        $params = (array) $params;
42 42
 
43 43
         if (!class_exists($parseClass)) {
44 44
             throw new \Exception(sprintf('Not found parse class: %s', $parseClass));
@@ -90,13 +90,13 @@  discard block
 block discarded – undo
90 90
                 }
91 91
                 if ($replace === true) {
92 92
                     $this->config[$namespace] = \array_merge_recursive_distinct(
93
-                        (array)$this->config[$namespace],
93
+                        (array) $this->config[$namespace],
94 94
                         $result
95 95
                     );
96 96
                 } else {
97 97
                     $this->config[$namespace] = \array_merge_recursive_distinct(
98 98
                         $result,
99
-                        (array)$this->config[$namespace]
99
+                        (array) $this->config[$namespace]
100 100
                     );
101 101
                 }
102 102
             }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private function getValue(array $parts, $array)
145 145
     {
146
-        if (!is_array($array)){
146
+        if (!is_array($array)) {
147 147
             throw new Exception();
148 148
         }
149 149
 
Please login to merge, or discard this patch.