@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return array|bool |
|
43 | + * @return boolean |
|
44 | 44 | */ |
45 | 45 | public function getIndexUrl() |
46 | 46 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return string|bool |
|
51 | + * @return boolean |
|
52 | 52 | */ |
53 | 53 | public function getChart() |
54 | 54 | { |
@@ -82,7 +82,7 @@ |
||
82 | 82 | * @param $id |
83 | 83 | * @param $attribute |
84 | 84 | * @param $version |
85 | - * @return null|integer|float|string |
|
85 | + * @return string|null |
|
86 | 86 | */ |
87 | 87 | public static function findAttribute($class, $id, $attribute, $version) |
88 | 88 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | * @param string $file |
78 | 78 | * @param int $line |
79 | 79 | * @param array $trace Stack trace to include. Use `Helper::generateTrace()` to create it. |
80 | - * @return null|static |
|
80 | + * @return AuditError|null |
|
81 | 81 | */ |
82 | 82 | public function logMessage($entry_id, $message, $code = 0, $file = '', $line = 0, $trace = []) |
83 | 83 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param Event $event |
39 | - * @return null|static |
|
39 | + * @return AuditMail|null |
|
40 | 40 | */ |
41 | 41 | public function record($event) |
42 | 42 | { |
@@ -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 |