Skip to content

Commit 8b6bac5

Browse files
authored
Merge pull request #37 from Pythagus/patch-maxmind-webservice-userid
🐛 UserId interpreted as string issue
2 parents a2a3b4c + 52e7918 commit 8b6bac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/MaxMindWebService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class MaxMindWebService extends AbstractService
2525
public function boot()
2626
{
2727
$this->client = new Client(
28-
$this->config('user_id'),
28+
(int) $this->config('user_id'),
2929
$this->config('license_key'),
3030
$this->config('locales', ['en'])
3131
);

0 commit comments

Comments
 (0)