We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526b8bf commit 314497aCopy full SHA for 314497a
src/Davibennun/LaravelPushNotification/PushNotification.php
@@ -4,7 +4,8 @@ class PushNotification {
4
5
public function app($appName)
6
{
7
- return new App(\Config::get('laravel-push-notification::'.$appName));
+ $config = is_array($appName) ? $appName : \Config::get('laravel-push-notification::'.$appName);
8
+ return new App($config);
9
}
10
11
public function Message()
0 commit comments