@@ -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 | { |
@@ -62,6 +62,9 @@ |
||
62 | 62 | )->toArray(); |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param Model $model |
|
67 | + */ |
|
65 | 68 | protected static function getRelatedModelAttributeValue($model, $attribute): array |
66 | 69 | { |
67 | 70 | if (substr_count($attribute, '.') > 1) { |