@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * Cleans the AuditEntry data |
134 | 134 | * |
135 | - * @param $maxAge |
|
135 | + * @param integer|null $maxAge |
|
136 | 136 | * @return bool |
137 | 137 | */ |
138 | 138 | protected function cleanupEntry($maxAge) |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * Cleans the Panel data |
161 | 161 | * |
162 | 162 | * @param $id |
163 | - * @param $maxAge |
|
163 | + * @param integer|null $maxAge |
|
164 | 164 | * @return bool |
165 | 165 | */ |
166 | 166 | protected function cleanupPanel($id, $maxAge) |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace bedezign\yii2\audit\panels; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use bedezign\yii2\audit\components\panels\Panel; |
6 | 7 | use bedezign\yii2\audit\models\AuditTrail; |
7 | 8 | use bedezign\yii2\audit\models\AuditTrailSearch; |
8 | -use Yii; |
|
9 | 9 | use yii\grid\GridViewAsset; |
10 | 10 | |
11 | 11 | /** |