Skip to content

Commit e61fe3a

Browse files
authored
Merge pull request #99 from MatheusNaldi/master
Fixed verification to call method configure
2 parents 104d2a6 + 44dfa1d commit e61fe3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OneSignalServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function boot()
1818
$this->publishes([$configPath => config_path('onesignal.php')], 'config');
1919
$this->mergeConfigFrom($configPath, 'onesignal');
2020

21-
if ( class_exists('Laravel\Lumen\Application') ) {
21+
if ($this->app instanceof Laravel\Lumen\Application) {
2222
$this->app->configure('onesignal');
2323
}
2424
}

0 commit comments

Comments
 (0)