You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Fix more errors php stan 🆙
This commit is contained in:
@@ -10,7 +10,7 @@ class IpLookupService
|
||||
|
||||
public function __construct(private readonly string $apiKey) {}
|
||||
|
||||
public function ipLookup(string $ip)
|
||||
public function ipLookup(string $ip): array
|
||||
{
|
||||
$response = Http::acceptJson()->get(sprintf('%s/%s?api-key=%s', $this->baseUrl, $ip, $this->apiKey));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user