Skip to content

Commit 8b380cd

Browse files
committed
Call parent constructor in Geoip provider
1 parent 5527012 commit 8b380cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Geocoder/Provider/Geoip.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class Geoip extends AbstractProvider implements Provider
2323
{
2424
public function __construct()
2525
{
26+
parent::__construct();
27+
2628
if (!function_exists('geoip_record_by_name')) {
2729
throw new ExtensionNotLoaded('You must install the GeoIP extension, see: https://php.net/manual/book.geoip.php.');
2830
}

0 commit comments

Comments
 (0)