@@ -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 |
@@ -105,9 +105,7 @@ |
||
105 | 105 | |
106 | 106 | /** |
107 | 107 | * Get cacheKey for current request. |
108 | - |
|
109 | 108 | * @param Request $request |
110 | - |
|
111 | 109 | * @return string |
112 | 110 | */ |
113 | 111 | protected function getCacheKey(Request $request): string |