refactor: rename name method to sanitizedName in BaseModel for clarity
This commit is contained in:
parent
f6ab2000d1
commit
19d277f8ec
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ protected static function boot()
|
|||
});
|
||||
}
|
||||
|
||||
public function name(): Attribute
|
||||
public function sanitizedName(): Attribute
|
||||
{
|
||||
return new Attribute(
|
||||
get: fn () => sanitize_string($this->getRawOriginal('name')),
|
||||
|
|
|
|||
Loading…
Reference in a new issue