update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -1,6 +1,5 @@
<?php namespace LaravelFCM;
use GuzzleHttp\Client;
use Illuminate\Support\Manager;
@@ -8,14 +7,14 @@ class FCMManager extends Manager {
public function getDefaultDriver()
{
return $this->app['config']['fcm.driver'];
return $this->app[ 'config' ][ 'fcm.driver' ];
}
protected function createHttpDriver()
{
$config = $this->app['config']->get('fcm.http', []);
return new Client([
'timeout' => $config['timeout'],
]);
$config = $this->app[ 'config' ]->get('fcm.http', []);
return new Client([ 'timeout' => $config[ 'timeout' ] ]);
}
}