@@ -10,7 +10,7 @@ |
||
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 | } |
@@ -20,7 +20,7 @@ discard block |
||
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 |
||
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 |