Completed
Pull Request — master (#61)
by Kazi Mainuddin
01:32
created
src/Commands/VerifyPendingTransactions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function handle()
17 17
     {
18 18
         $transactions = PayuTransaction::verifiable()->get();
19
-        $transactions->each(fn (PayuTransaction $transaction) => dispatch(new VerifyTransaction($transaction)));
19
+        $transactions->each(fn(PayuTransaction $transaction) => dispatch(new VerifyTransaction($transaction)));
20 20
 
21 21
         $count = $transactions->count();
22 22
         $this->line(
Please login to merge, or discard this patch.
src/Controllers/StatusController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
     protected function checkValidation(Request $request)
39 39
     {
40
-        if (! $request->hasValidSignature()) {
40
+        if (!$request->hasValidSignature()) {
41 41
             abort(403);
42 42
         }
43 43
 
Please login to merge, or discard this patch.
src/Checksum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     public function generate(array $fields, bool $reverse = false)
35 35
     {
36 36
         $keys = collect($this->keys)
37
-            ->merge(collect(range(1, 10))->map(fn (int $index) => "udf{$index}"));
37
+            ->merge(collect(range(1, 10))->map(fn(int $index) => "udf{$index}"));
38 38
 
39 39
         $keys = $reverse ? $keys->merge(['status', 'salt'])->reverse() : $keys->merge(['salt']);
40 40
 
Please login to merge, or discard this patch.
src/Models/PayuTransaction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 
112 112
     public function verified()
113 113
     {
114
-        return ! empty($this->verified_at);
114
+        return !empty($this->verified_at);
115 115
     }
116 116
 
117 117
     public function shouldVerify()
Please login to merge, or discard this patch.