Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored and github-actions[bot] committed Jan 14, 2024
1 parent 54348b1 commit 0f189c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Actions/RefundAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace DoubleThreeDigital\SimpleCommerce\Actions;

use DoubleThreeDigital\SimpleCommerce\Facades\Gateway;
use DoubleThreeDigital\SimpleCommerce\Facades\Order;
use DoubleThreeDigital\SimpleCommerce\Orders\EntryOrderRepository;
use DoubleThreeDigital\SimpleCommerce\SimpleCommerce;
Expand Down
3 changes: 2 additions & 1 deletion src/Orders/GatewayData.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

namespace DoubleThreeDigital\SimpleCommerce\Orders;

use DoubleThreeDigital\SimpleCommerce\Contracts\Gateway as GatewayContract;
use DoubleThreeDigital\SimpleCommerce\Facades\Gateway;
use DoubleThreeDigital\SimpleCommerce\Gateways\Manager;
use Illuminate\Support\Collection;

class GatewayData
{
public $gateway;

public $data;

public $refund;

public function __construct(array $gatewayData)
Expand Down
2 changes: 1 addition & 1 deletion src/Orders/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function coupon($coupon = null)
->args(func_get_args());
}

public function gatewayData(string $gateway = null, array $data = null, array $refund = null): ?GatewayData
public function gatewayData(?string $gateway = null, ?array $data = null, ?array $refund = null): ?GatewayData
{
if ($gateway) {
$this->gateway = array_merge($this->gateway ?? [], ['use' => $gateway]);
Expand Down

0 comments on commit 0f189c1

Please sign in to comment.