This commit is contained in:
EwelinaLasowy
2022-01-18 09:05:19 +01:00
parent 55eb288e23
commit 4ef131021c
3 changed files with 37 additions and 15 deletions

View File

@@ -13,8 +13,9 @@ use Toby\Models\User;
class UserAvatarGenerator
{
public function __construct(protected InitialAvatar $generator)
{
public function __construct(
protected InitialAvatar $generator,
) {
}
public function generateFor(User $user): string
@@ -46,4 +47,4 @@ class UserAvatarGenerator
{
return Str::uuid()->toString();
}
}
}