There was an error while loading. Please reload this page.
1 parent 4afbcde commit 6abfd3aCopy full SHA for 6abfd3a
2 files changed
src/Geolocation/IP2C.php
@@ -32,7 +32,6 @@ public function locateIpAddress(string $ipAddress): string
32
]);
33
$response = (string) curl_exec($ch);
34
$code = (int) curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
35
- curl_close($ch);
36
37
if ($code >= 400 || $response === '') {
38
return '';
src/Geolocation/IP2Country.php
0 commit comments