@@ -29,8 +29,8 @@ |
||
29 | 29 | } |
30 | 30 | $patternList = $this->config[$name]; |
31 | 31 | foreach ($patternList as $series => $data) { |
32 | - if(array_key_exists('pattern', $data)) { |
|
33 | - $this->detectModelByPattern($series,$data['pattern']); |
|
32 | + if (array_key_exists('pattern', $data)) { |
|
33 | + $this->detectModelByPattern($series, $data['pattern']); |
|
34 | 34 | } elseif (array_key_exists('models', $data)) { |
35 | 35 | $this->detectModelByModelList($series, $data['models']); |
36 | 36 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | */ |
52 | 52 | protected function initResultObject() |
53 | 53 | { |
54 | - if(!array_key_exists('default', $this->config)) { |
|
54 | + if (!array_key_exists('default', $this->config)) { |
|
55 | 55 | return null; |
56 | 56 | } |
57 | 57 | // init default value from data |