Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 authored and github-actions[bot] committed Jan 8, 2025
1 parent 09ec2d0 commit 2ccb411
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/Listeners/RemitOrderPaymentAccepted.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@

class RemitOrderPaymentAccepted implements ShouldQueue
{

private $order;

/**
* Handle the event.
* @param \Fintech\Reload\Events\DepositAccepted $event
*
* @param \Fintech\Reload\Events\DepositAccepted $event
*
* @throws \Throwable
*/
public function handle(object $event): void
{
$this->order = Transaction::order()->find($event->deposit->parent_id);


}

/**
Expand Down
5 changes: 1 addition & 4 deletions src/Listeners/RemitOrderPaymentRejected.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ class RemitOrderPaymentRejected implements ShouldQueue
*
* @throws \Throwable
*/
public function handle(object $event): void
{

}
public function handle(object $event): void {}

/**
* Handle a job failure.
Expand Down
6 changes: 3 additions & 3 deletions src/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ class EventServiceProvider extends ServiceProvider

],
\Fintech\Reload\Events\DepositAccepted::class => [
RemitOrderPaymentAccepted::class
RemitOrderPaymentAccepted::class,
],
\Fintech\Reload\Events\DepositRejected::class => [
RemitOrderPaymentRejected::class
]
RemitOrderPaymentRejected::class,
],
];
}

0 comments on commit 2ccb411

Please sign in to comment.