Completed
Pull Request — master (#116)
by Shingo
02:44 queued 01:18
created
src/SendgridTransportServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Transport/SendgridTransport.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.