Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
$app should be $container in laravel 8
Browse files Browse the repository at this point in the history
  • Loading branch information
lkloon123 authored Sep 11, 2020
1 parent 91e94e4 commit da4471a
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->container[ 'config' ][ 'fcm.driver' ];
}

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

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

0 comments on commit da4471a

Please sign in to comment.