some stan

This commit is contained in:
2025-11-15 21:32:03 +05:00
parent c24f7cbac6
commit c94ac5d12d
8 changed files with 28 additions and 29 deletions

View File

@@ -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,
);
}