Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
habib-eg committed Dec 19, 2020
1 parent 0fd8400 commit bd222fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FCMManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ class FCMManager extends Manager
{
public function getDefaultDriver()
{
return $this->app[ 'config' ][ 'fcm.driver' ];
return $this->config->get('fcm.driver');
}

protected function createHttpDriver()
{
$config = $this->app[ 'config' ]->get('fcm.http', []);
$config = $this->config->get('fcm.http', []);

return new Client(['timeout' => $config[ 'timeout' ]]);
}
Expand Down

0 comments on commit bd222fe

Please sign in to comment.