Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Aug 5, 2024
1 parent 52d255a commit e0ad452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Gateway/ManualDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function refund(Order $order, ?float $amount = null, array $attributes =
/**
* Handle the notification request.
*/
public function handleNotification(Request $request): Response
public function handleNotification(Request $request, Order $order): Response
{
throw new Exception('This payment gateway does not support payment notifications.');
}
Expand Down
3 changes: 2 additions & 1 deletion src/Gateway/TransferDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Cone\Bazar\Gateway;

use Cone\Bazar\Models\Order;
use Exception;
use Illuminate\Http\Request;

Expand All @@ -15,7 +16,7 @@ class TransferDriver extends Driver
/**
* {@inheritdoc}
*/
public function handleNotification(Request $request): Response
public function handleNotification(Request $request, Order $order): Response
{
throw new Exception('This payment gateway does not support payment notifications.');
}
Expand Down

0 comments on commit e0ad452

Please sign in to comment.