@@ -125,11 +125,11 @@ |
||
| 125 | 125 | */ |
| 126 | 126 | protected function getMessageParts(\Swift_Mime_SimpleMessage $message) |
| 127 | 127 | { |
| 128 | - $attachments = \array_filter($message->getChildren(), function ($part) { |
|
| 128 | + $attachments = \array_filter($message->getChildren(), function($part) { |
|
| 129 | 129 | return $part instanceof \Swift_Attachment; |
| 130 | 130 | }); |
| 131 | 131 | |
| 132 | - $attachments = \array_map(function ($part) { |
|
| 132 | + $attachments = \array_map(function($part) { |
|
| 133 | 133 | return $part->getName(); |
| 134 | 134 | }, $attachments); |
| 135 | 135 | |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | return true; |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | - $headers = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey]; |
|
| 141 | + $headers = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey]; |
|
| 142 | 142 | |
| 143 | 143 | foreach ($response->getHeaders()->toArray() as $key => $value) { |
| 144 | 144 | if (\strpos($key, 'Access-Control-') === false) { |