Completed
Push — master ( d3395c...6ce6f6 )
by i
03:50
created
src/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     protected static function getLoggerInstance() : Logger
81 81
     {
82 82
         $maxFiles = 7;
83
-        $filename = sys_get_temp_dir() . '/logs/payment.log';
83
+        $filename = sys_get_temp_dir().'/logs/payment.log';
84 84
         $handler = new RotatingFileHandler($filename, $maxFiles);
85 85
         $handler->setFilenameFormat('{date}-{filename}', 'Y-m-d');
86 86
         $formatter = new LineFormatter(null, null, true, true);
Please login to merge, or discard this patch.
src/Alipay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             'biz_content' => '',
87 87
         ];
88 88
 
89
-        ! $this->config->has('log.file') ?: $this->registerLogger();
89
+        !$this->config->has('log.file') ?: $this->registerLogger();
90 90
     }
91 91
 
92 92
     /**
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     private function dispatcher(string $gateway, array $array = [])
217 217
     {
218 218
         $this->payload['biz_content'] = $array;
219
-        $class = \get_class($this) . '\\' . Str::studly($gateway) . 'Payment';
219
+        $class = \get_class($this).'\\'.Str::studly($gateway).'Payment';
220 220
 
221 221
         if (class_exists($class)) {
222 222
             return $this->toPay($class);
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             $this->payload,
261 261
             $this->config->get('private_key')
262 262
         );
263
-        Log::debug(ucfirst($type) . ' an order:', [
263
+        Log::debug(ucfirst($type).' an order:', [
264 264
             $this->gateway,
265 265
             $this->payload,
266 266
         ]);
Please login to merge, or discard this patch.