@@ -16,9 +16,9 @@ |
||
16 | 16 | */ |
17 | 17 | public function register() |
18 | 18 | { |
19 | - $this->app->afterResolving(MailManager::class, function ($mail_manager) { |
|
19 | + $this->app->afterResolving(MailManager::class, function($mail_manager) { |
|
20 | 20 | /** @var $mail_manager MailManager */ |
21 | - $mail_manager->extend("sendgrid", function($config){ |
|
21 | + $mail_manager->extend("sendgrid", function($config) { |
|
22 | 22 | $client = new HttpClient(Arr::get($config, 'guzzle', [])); |
23 | 23 | $endpoint = isset($config['endpoint']) ? $config['endpoint'] : null; |
24 | 24 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use GuzzleHttp\Client; |
5 | 5 | use GuzzleHttp\ClientInterface; |
6 | 6 | use GuzzleHttp\Exception\GuzzleException; |
7 | -use GuzzleHttp\Psr7\Response; |
|
8 | 7 | use Illuminate\Mail\Transport\Transport; |
9 | 8 | use Illuminate\Support\Arr; |
10 | 9 | use Psr\Http\Message\ResponseInterface; |