Skip to content

Commit 7a33b2c

Browse files
authored
..
1 parent f6c39b5 commit 7a33b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VisitsServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ public function register()
5656
if (!$this->app->providerIsLoaded(GeoIPServiceProvider::class)) {
5757
$this->app->register(GeoIPServiceProvider::class);
5858
}
59-
59+
6060
// Register GeoIP facade if not already registered
61-
if (!isset($this->app->getAlias('GeoIP'))) {
61+
if ($this->app->getAlias('GeoIP') === null) {
6262
$this->app->alias('GeoIP', \Torann\GeoIP\Facades\GeoIP::class);
6363
}
6464

0 commit comments

Comments
 (0)