@@ -116,7 +116,7 @@ |
||
| 116 | 116 | /** |
| 117 | 117 | * @param string $description |
| 118 | 118 | * |
| 119 | - * @return null|mixed |
|
| 119 | + * @return null|Model |
|
| 120 | 120 | */ |
| 121 | 121 | public function log(string $description) |
| 122 | 122 | { |
@@ -63,6 +63,9 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param Model $model |
|
| 68 | + */ |
|
| 66 | 69 | protected static function getRelatedModelAttributeValue($model, $attribute): array { |
| 67 | 70 | if (substr_count($attribute, '.') > 1) { |
| 68 | 71 | throw CouldNotLogChanges::invalidAttribute($attribute); |