@@ -373,12 +373,12 @@ |
||
| 373 | 373 | |
| 374 | 374 | // We now need one more iteration to add core classes to the panels added via the merge, if needed |
| 375 | 375 | array_walk($this->panels, function(&$value, $key) { |
| 376 | - if (!isset($value['class'])) { |
|
| 377 | - if (isset($this->_corePanels[$key])) |
|
| 378 | - $value = ArrayHelper::merge($value, $this->_corePanels[$key]); |
|
| 379 | - else |
|
| 380 | - throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified."); |
|
| 381 | - } |
|
| 376 | + if (!isset($value['class'])) { |
|
| 377 | + if (isset($this->_corePanels[$key])) |
|
| 378 | + $value = ArrayHelper::merge($value, $this->_corePanels[$key]); |
|
| 379 | + else |
|
| 380 | + throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified."); |
|
| 381 | + } |
|
| 382 | 382 | }); |
| 383 | 383 | } |
| 384 | 384 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | // and the '.svn' will match all files and directories named exactly '.svn'. |
| 27 | 27 | // Note, the '/' characters in a pattern matches both '/' and '\'. |
| 28 | 28 | // See helpers/FileHelper::findFiles() description for more details on pattern matching rules. |
| 29 | - 'only' => ['*.php', '*.js'], |
|
| 29 | + 'only' => ['*.php', '*.js'], |
|
| 30 | 30 | // array, list of patterns that specify which files (not directories) should be processed. |
| 31 | 31 | // If empty or not set, all files will be processed. |
| 32 | 32 | // Please refer to "except" for details about the patterns. |