Skip to content

Commit 34bd62e

Browse files
authored
Added 'providedBy' (#698)
* Added 'providedBy' * Bugfix * Applied changes from StyleCI
1 parent b9b6ff8 commit 34bd62e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MaxMindBinary.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ public function geocodeQuery(GeocodeQuery $query): Collection
101101
$adminLevels[] = ['name' => $geoIpRecord->region, 'level' => 1];
102102
}
103103

104-
return new AddressCollection([Address::createFromArray([
104+
return new AddressCollection([
105+
Address::createFromArray([
106+
'providedBy' => $this->getName(),
105107
'countryCode' => $geoIpRecord->country_code,
106108
'country' => utf8_encode($geoIpRecord->country_name),
107109
'adminLevels' => $adminLevels,

0 commit comments

Comments
 (0)