Laravel version update

Laravel version update
This commit is contained in:
Manish Verma
2018-08-06 18:48:58 +05:30
parent d143048413
commit 126fbb0255
13678 changed files with 1031482 additions and 778530 deletions

View File

@@ -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' ]]);
}
}