#90 - cr fixes

This commit is contained in:
Adrian Hopek
2022-04-14 11:37:07 +02:00
parent 4059b101f5
commit 1129f1ebc6
12 changed files with 24 additions and 15 deletions

View File

@@ -42,11 +42,11 @@ class Profile extends Model
public function getAvatar(): string
{
return $this->getAvatarGenerator()
->backgroundColor(ColorGenerator::generate($this->fullName))
->backgroundColor(ColorGenerator::generate($this->full_name))
->image();
}
public function getFullNameAttribute(): string
public function getfullNameAttribute(): string
{
return "{$this->first_name} {$this->last_name}";
}