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

Commit d64aa52

Browse files
committed
Merge branch 'master' of github.com:brozot/Laravel-FCM
2 parents 8efea61 + 2122ba0 commit d64aa52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/FCMServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ public function boot()
2323

2424
public function register()
2525
{
26-
$this->mergeConfigFrom(__DIR__.'/../config/fcm.php', 'fcm');
26+
if (!str_contains($this->app->version(), 'Lumen')) {
27+
$this->mergeConfigFrom(__DIR__.'/../config/fcm.php', 'fcm');
28+
}
2729

2830
$this->app->singleton('fcm.client', function ($app) {
2931
return (new FCMManager($app))->driver();

0 commit comments

Comments
 (0)