Completed
Push — master ( f9df56...b2d053 )
by Arman
17s queued 16s
created
src/Libraries/Mailer/Mailer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -504,7 +504,7 @@
 block discarded – undo
504 504
         if (config()->get('debug')) {
505 505
             $this->mailer->SMTPDebug = SMTP::DEBUG_SERVER;
506 506
 
507
-            $this->mailer->Debugoutput = function ($message) {
507
+            $this->mailer->Debugoutput = function($message) {
508 508
                 Debugger::addToStore(Debugger::MAILS, LogLevel::WARNING, $message);
509 509
 
510 510
                 $logFile = logs_dir() . DS . date('Y-m-d') . '.log';
Please login to merge, or discard this patch.
src/Helpers/misc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 function _message(string $subject, $params): string
49 49
 {
50 50
     if (is_array($params)) {
51
-        return preg_replace_callback('/{%\d+}/', function () use (&$params) {
51
+        return preg_replace_callback('/{%\d+}/', function() use (&$params) {
52 52
             return array_shift($params);
53 53
         }, $subject);
54 54
     } else {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     for ($i = 0; $i < $length; $i++) {
157 157
         $randomString .= rand(0, 9);
158 158
     }
159
-    return (int)$randomString;
159
+    return (int) $randomString;
160 160
 }
161 161
 
162 162
 /**
Please login to merge, or discard this patch.