Laravel version update
Laravel version update
This commit is contained in:
29
vendor/brozot/laravel-fcm/src/FCMManager.php
vendored
29
vendor/brozot/laravel-fcm/src/FCMManager.php
vendored
@@ -1,20 +1,21 @@
|
||||
<?php namespace LaravelFCM;
|
||||
<?php
|
||||
|
||||
namespace LaravelFCM;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use Illuminate\Support\Manager;
|
||||
|
||||
class FCMManager extends Manager {
|
||||
class FCMManager extends Manager
|
||||
{
|
||||
public function getDefaultDriver()
|
||||
{
|
||||
return $this->app[ 'config' ][ 'fcm.driver' ];
|
||||
}
|
||||
|
||||
public function getDefaultDriver()
|
||||
{
|
||||
return $this->app[ 'config' ][ 'fcm.driver' ];
|
||||
}
|
||||
protected function createHttpDriver()
|
||||
{
|
||||
$config = $this->app[ 'config' ]->get('fcm.http', []);
|
||||
|
||||
protected function createHttpDriver()
|
||||
{
|
||||
$config = $this->app[ 'config' ]->get('fcm.http', []);
|
||||
|
||||
return new Client([ 'timeout' => $config[ 'timeout' ] ]);
|
||||
}
|
||||
|
||||
}
|
||||
return new Client(['timeout' => $config[ 'timeout' ]]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user