Closed Briareos17 closed 3 years ago
Hey,
thanks for your PR but $attribute
is the name of the attribute as string so we aren't filling $model->attributes
directly but assigning the value to the overloaded property (for example like $model->title
).
So it is using the model casting already and there's nothing to fix.
Translatable.php setAttribute() instead of $attribute prop assign in order to use translation model casts