@@ -16,7 +16,7 @@ |
||
16 | 16 | * New custom method which can be called through a mask |
17 | 17 | * @return string |
18 | 18 | */ |
19 | - public function token(){ |
|
19 | + public function token() { |
|
20 | 20 | return implode('-', [$this->id, $this->getMessage()->getUid(), $this->name]); |
21 | 21 | } |
22 | 22 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | /** @var \Webklex\IMAP\Message $message */ |
21 | 21 | $message = $folder->query()->limit(1)->get()->first(); |
22 | 22 | |
23 | -$html = $message->getHTMLBody(function($body, $oAttachment){ |
|
23 | +$html = $message->getHTMLBody(function($body, $oAttachment) { |
|
24 | 24 | /** @var \Webklex\IMAP\Attachment $oAttachment */ |
25 | 25 | if ($oAttachment->id && $oAttachment->getImgSrc() != null) { |
26 | 26 | $oMessage = $oAttachment->getMessage(); |