File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1919 |
2020 */
2121 'rest_api_key ' => 'YOUR-REST-API-KEY-HERE ' ,
22- 'user_auth_key ' => 'YOUR- '
22+ 'user_auth_key ' => 'YOUR-USER-AUTH-KEY '
2323);
Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ class OneSignalServiceProvider extends ServiceProvider
1414 public function boot ()
1515 {
1616 $ configPath = __DIR__ . '/../config/onesignal.php ' ;
17- $ app = $ this ->app ;
18-
19- if (class_exists ('Illuminate\Foundation\Application ' ) && $ app instanceof LaravelApplication && $ app ->runningInConsole ()) {
20- $ this ->publishes ([$ configPath => config_path ('onesignal.php ' )]);
21- $ this ->mergeConfigFrom ($ configPath , 'onesignal ' );
22- } else if ( class_exists ('Laravel\Lumen\Application ' , false ) ) {
23- $ app ->configure ('onesignal ' );
17+
18+ $ this ->publishes ([$ configPath => config_path ('onesignal.php ' )]);
19+ $ this ->mergeConfigFrom ($ configPath , 'onesignal ' );
20+
21+ if ( class_exists ('Laravel\Lumen\Application ' ) ) {
22+ $ this ->app ->configure ('onesignal ' );
2423 }
2524 }
2625
You can’t perform that action at this time.
0 commit comments