fix: update RDAPService parser

This commit is contained in:
Maël Gangloff
2024-07-23 03:05:35 +02:00
parent 7c68919252
commit 1ef8a98586
5 changed files with 36 additions and 37 deletions

View File

@@ -15,9 +15,9 @@ class Event
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(enumType: EventAction::class)]
#[ORM\Column(length: 255)]
#[Groups(['event:list'])]
private ?EventAction $action = null;
private ?string $action = null;
#[ORM\Column(type: 'datetime_immutable')]
#[Groups(['event:list'])]
@@ -29,12 +29,12 @@ class Event
return $this->id;
}
public function getAction(): ?EventAction
public function getAction(): ?string
{
return $this->action;
}
public function setAction(EventAction $action): static
public function setAction(string $action): static
{
$this->action = $action;