Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 2122ba0

Browse files
author
Nicolas Brosy
committed
Merge config, remove vendor:publish issue
1 parent ffdf00a commit 2122ba0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/FCMServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ public function boot()
2323

2424
public function register()
2525
{
26+
if (!str_contains($this->app->version(), 'Lumen')) {
27+
$this->mergeConfigFrom(__DIR__.'/../config/fcm.php', 'fcm');
28+
}
29+
2630
$this->app->singleton('fcm.client', function ($app) {
2731
return (new FCMManager($app))->driver();
2832
});

0 commit comments

Comments
 (0)