Completed
Push — master ( 1bc138...210f5b )
by Arman
18s queued 15s
created
src/Console/Commands/KeyGenerateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Libraries/Auth/AuthManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Libraries/Mailer/Adapters/SmtpAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Libraries/Storage/Adapters/Local/LocalFileSystemAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $lines = file($filename, FILE_IGNORE_NEW_LINES);
211 211
 
212
-        if(!$lines) {
212
+        if (!$lines) {
213 213
             return [];
214 214
         }
215 215
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     public function fileName(string $path): string
229 229
     {
230
-        return (string)pathinfo($path, PATHINFO_FILENAME);
230
+        return (string) pathinfo($path, PATHINFO_FILENAME);
231 231
     }
232 232
 
233 233
     /**
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function extension(string $path): string
239 239
     {
240
-        return (string)pathinfo($path, PATHINFO_EXTENSION);
240
+        return (string) pathinfo($path, PATHINFO_EXTENSION);
241 241
     }
242 242
 
243 243
     /**
Please login to merge, or discard this patch.