*/ public function after(): array { return [self::validateAllowedIps(...)]; } /** * The validated IP addresses and CIDR ranges the key may be used from, or null when * none were sent. * * @return list|null */ public function allowedIps(): ?array { $validated = $this->safe(); if (! $validated->filled('allowed_ips')) { return null; } return array_map(fn (int|string $key): string => $validated->string('allowed_ips.'.$key)->toString(), array_keys($validated->array('allowed_ips'))); } }