@@ -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 | { |
@@ -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 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
| 118 | - * @param $action |
|
| 118 | + * @param string $action |
|
| 119 | 119 | * @throws \yii\db\Exception |
| 120 | 120 | */ |
| 121 | 121 | public function audit($action) |
@@ -261,14 +261,14 @@ discard block |
||
| 261 | 261 | /** |
| 262 | 262 | * Save the audit trails for a create or update action |
| 263 | 263 | * |
| 264 | - * @param $action |
|
| 264 | + * @param string $action |
|
| 265 | 265 | * @param $newAttributes |
| 266 | 266 | * @param $oldAttributes |
| 267 | 267 | * @param $entry_id |
| 268 | 268 | * @param $user_id |
| 269 | - * @param $model |
|
| 269 | + * @param string $model |
|
| 270 | 270 | * @param $model_id |
| 271 | - * @param $created |
|
| 271 | + * @param string $created |
|
| 272 | 272 | * @throws \yii\db\Exception |
| 273 | 273 | */ |
| 274 | 274 | protected function saveAuditTrail($action, $newAttributes, $oldAttributes, $entry_id, $user_id, $model, $model_id, $created) |