We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c39b5 commit 7a33b2cCopy full SHA for 7a33b2c
src/VisitsServiceProvider.php
@@ -56,9 +56,9 @@ public function register()
56
if (!$this->app->providerIsLoaded(GeoIPServiceProvider::class)) {
57
$this->app->register(GeoIPServiceProvider::class);
58
}
59
-
+
60
// Register GeoIP facade if not already registered
61
- if (!isset($this->app->getAlias('GeoIP'))) {
+ if ($this->app->getAlias('GeoIP') === null) {
62
$this->app->alias('GeoIP', \Torann\GeoIP\Facades\GeoIP::class);
63
64
0 commit comments