some stan
This commit is contained in:
@@ -22,11 +22,13 @@ class CurrencyRate extends Model
|
||||
|
||||
/**
|
||||
* Get the user's first name.
|
||||
*
|
||||
* @return Attribute<string, void>
|
||||
*/
|
||||
protected function name(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn () => $this->currency_from.'-'.$this->currency_to,
|
||||
get: fn (): string => $this->currency_from.'-'.$this->currency_to,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user