Skip to content

Commit

Permalink
Fix incorrect GeoLite2Options mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Oct 24, 2024
1 parent 0619112 commit 6f35bd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/dependencies.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
/** @var array $config */
$config = $c->get('config.geolite2');
return new GeoLite2\GeoLite2Options(
licenseKey: $config['db_location'] ?? null,
dbLocation: $config['temp_dir'] ?? '',
tempDir: $config['license_key'] ?? '',
licenseKey: $config['license_key'] ?? null,
dbLocation: $config['db_location'] ?? '',
tempDir: $config['temp_dir'] ?? '',
);
},
GeoLite2\DbUpdater::class => ConfigAbstractFactory::class,
Expand Down

0 comments on commit 6f35bd4

Please sign in to comment.