mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: update RDAPService parser
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user