@@ -16,7 +16,7 @@ |
||
| 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( |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 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 | |
@@ -111,7 +111,7 @@ |
||
| 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() |