Skip to content

Commit

Permalink
Fix $walletsInOrder type, see last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 authored and HPWebdeveloper committed Jan 13, 2024
1 parent a4e096b commit 41665af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Traits/HandlesPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public function pay(int|float $orderValue, ?string $notes = null): void
$remainingOrderValue = $orderValue;

/**
* @var \Illuminate\Support\Collection<TKey, \HPWebdeveloper\LaravelPayPocket\Models
* |\HPWebdeveloper\LaravelPayPocket\Traits\BalanceOperation> $walletsInOrder
* @var \Illuminate\Support\Collection<TKey, \HPWebdeveloper\LaravelPayPocket\Models\Wallet>
*/
$walletsInOrder = $this->wallets()->whereIn('type', $this->walletsInOrder())->get();

Expand Down

0 comments on commit 41665af

Please sign in to comment.