mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-24 05:05:39 +00:00
chore: reformat code
This commit is contained in:
parent
0657891b8d
commit
a94a775ee6
@ -232,7 +232,7 @@ readonly class RDAPService
|
||||
$event->setDeleted(true);
|
||||
}
|
||||
|
||||
if(!empty($res["events"])) {
|
||||
if (array_key_exists('events', $res) && is_array($res['events'])) {
|
||||
foreach ($res['events'] as $rdapEvent) {
|
||||
if ($rdapEvent['eventAction'] === EventAction::LastUpdateOfRDAPDatabase->value) {
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user