@@ -85,7 +85,7 @@ |
||
85 | 85 | */ |
86 | 86 | private function generateRandomKey(): string |
87 | 87 | { |
88 | - return bin2hex(random_bytes((int)$this->getOption('length'))); |
|
88 | + return bin2hex(random_bytes((int) $this->getOption('length'))); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | case 'web': |
59 | 59 | return WebAuth::getInstance(self::getAuthService(), MailerManager::getHandler(), new Hasher); |
60 | 60 | case 'api': |
61 | - $jwt = (new JWToken())->setLeeway(1)->setClaims((array)config()->get('auth.claims')); |
|
61 | + $jwt = (new JWToken())->setLeeway(1)->setClaims((array) config()->get('auth.claims')); |
|
62 | 62 | return ApiAuth::getInstance(self::getAuthService(), MailerManager::getHandler(), new Hasher, $jwt); |
63 | 63 | default: |
64 | 64 | AuthException::undefinedAuthType(); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | if (config()->get('debug')) { |
85 | 85 | $this->mailer->SMTPDebug = SMTP::DEBUG_SERVER; |
86 | 86 | |
87 | - $this->mailer->Debugoutput = function ($message) { |
|
87 | + $this->mailer->Debugoutput = function($message) { |
|
88 | 88 | $this->updateDebugBar($message); |
89 | 89 | }; |
90 | 90 | } |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | */ |
187 | 187 | public function setAttachment(string $attachment): SmtpAdapter |
188 | 188 | { |
189 | - $this->attachments[] = $attachment;; |
|
189 | + $this->attachments[] = $attachment; ; |
|
190 | 190 | return $this; |
191 | 191 | } |
192 | 192 |