@@ -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 | } |