Skip to content

Commit

Permalink
Fix hex color length.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulb committed Feb 27, 2023
1 parent ab448ba commit 3fca06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Embeds/Avatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#[ORM\Embeddable]
class Avatar
{
#[ORM\Column(type: Types::STRING, length: 6)]
#[ORM\Column(type: Types::STRING, length: 7)]
#[Assert\CssColor(formats: Assert\CssColor::HEX_LONG)]
#[Serialize]
private string $color = '';
Expand Down

0 comments on commit 3fca06e

Please sign in to comment.