Completed
Push — dev ( a65747...4e6d68 )
by Shingo
04:38
created
src/MailServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     protected function registerSwiftTransport()
12 12
     {
13
-        $this->app['swift.transport'] = $this->app->share(function ($app) {
13
+        $this->app['swift.transport'] = $this->app->share(function($app) {
14 14
             return new TransportManager($app);
15 15
         });
16 16
     }
Please login to merge, or discard this patch.
src/Transport/SendgridTransport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $this->client = $client;
22 22
         $this->options = [
23
-            'headers' => ['Authorization' => 'Bearer ' . $api_key]
23
+            'headers' => ['Authorization' => 'Bearer '.$api_key]
24 24
         ];
25 25
     }
26 26
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             }
137 137
             $handler = tmpfile();
138 138
             fwrite($handler, $attachment->getBody());
139
-            $data['files[' . $attachment->getFilename() . ']'] = $handler;
139
+            $data['files['.$attachment->getFilename().']'] = $handler;
140 140
         }
141 141
     }
142 142
 
Please login to merge, or discard this patch.
src/Transport/SendgridV3Transport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $this->client = $client;
24 24
         $this->options = [
25 25
             'headers' => [
26
-                'Authorization' => 'Bearer ' . $api_key,
26
+                'Authorization' => 'Bearer '.$api_key,
27 27
                 'Content-Type'  => 'application/json',
28 28
             ],
29 29
         ];
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     private function getPersonalizations(Swift_Mime_Message $message)
67 67
     {
68
-        $setter = function (array $addresses) {
68
+        $setter = function(array $addresses) {
69 69
             $recipients = [];
70 70
             foreach ($addresses as $email => $name) {
71 71
                 $address = [];
Please login to merge, or discard this patch.