@@ -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 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.yiiframework.com/ |
|
4 | - * @copyright Copyright (c) 2008 Yii Software LLC |
|
5 | - * @license http://www.yiiframework.com/license/ |
|
6 | - */ |
|
3 | + * @link http://www.yiiframework.com/ |
|
4 | + * @copyright Copyright (c) 2008 Yii Software LLC |
|
5 | + * @license http://www.yiiframework.com/license/ |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace bedezign\yii2\audit; |
9 | 9 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Console compatible error handler |
|
4 | - */ |
|
3 | + * Console compatible error handler |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace bedezign\yii2\audit\components\console; |
7 | 7 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Base model for the audit classes containing some helper functions to auto serialize/unserialize the |
|
4 | - * raw data attributes. |
|
5 | - */ |
|
3 | + * Base model for the audit classes containing some helper functions to auto serialize/unserialize the |
|
4 | + * raw data attributes. |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace bedezign\yii2\audit\components\db; |
8 | 8 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * |
|
5 | - * @author Steve Guns <[email protected]> |
|
6 | - * @package com.bedezign.sa-portal.inet.telenet.be |
|
7 | - * @copyright 2015 B&E DeZign |
|
8 | - */ |
|
3 | + * |
|
4 | + * |
|
5 | + * @author Steve Guns <[email protected]> |
|
6 | + * @package com.bedezign.sa-portal.inet.telenet.be |
|
7 | + * @copyright 2015 B&E DeZign |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace bedezign\yii2\audit\components\panels; |
11 | 11 |
@@ -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. |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Message translations. |
|
4 | - * |
|
5 | - * This file is automatically generated by 'yii message' command. |
|
6 | - * It contains the localizable messages extracted from source code. |
|
7 | - * You may modify this file by translating the extracted messages. |
|
8 | - * |
|
9 | - * Each array element represents the translation (value) of a message (key). |
|
10 | - * If the value is empty, the message is considered as not translated. |
|
11 | - * Messages that no longer need translation will have their translations |
|
12 | - * enclosed between a pair of '@@' marks. |
|
13 | - * |
|
14 | - * Message string can be used with plural forms format. Check i18n section |
|
15 | - * of the guide for details. |
|
16 | - * |
|
17 | - * NOTE: this file must be saved in UTF-8 encoding. |
|
18 | - */ |
|
3 | + * Message translations. |
|
4 | + * |
|
5 | + * This file is automatically generated by 'yii message' command. |
|
6 | + * It contains the localizable messages extracted from source code. |
|
7 | + * You may modify this file by translating the extracted messages. |
|
8 | + * |
|
9 | + * Each array element represents the translation (value) of a message (key). |
|
10 | + * If the value is empty, the message is considered as not translated. |
|
11 | + * Messages that no longer need translation will have their translations |
|
12 | + * enclosed between a pair of '@@' marks. |
|
13 | + * |
|
14 | + * Message string can be used with plural forms format. Check i18n section |
|
15 | + * of the guide for details. |
|
16 | + * |
|
17 | + * NOTE: this file must be saved in UTF-8 encoding. |
|
18 | + */ |
|
19 | 19 | return [ |
20 | 20 | '<b>{message}</b><br />in <i>{file}</i> on line <i>{line}</i>.<br/>-- {link}' => '', |
21 | 21 | 'Args' => '', |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This model allows for storing of javascript logging entries linked to a specific audit entry |
|
4 | - */ |
|
3 | + * This model allows for storing of javascript logging entries linked to a specific audit entry |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace bedezign\yii2\audit\models; |
7 | 7 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * AssetBundle to register when you want to log javascript events as well. |
|
4 | - */ |
|
3 | + * AssetBundle to register when you want to log javascript events as well. |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace bedezign\yii2\audit\web; |
7 | 7 |