Skip to content

Commit c6dbb69

Browse files
3m1n3nc3HPWebdeveloper
authored andcommitted
Fix missing exception
1 parent 0620e42 commit c6dbb69

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Interfaces/WalletOperations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function hasSufficientBalance(int|float $value): bool;
3636
* @param int|float $orderValue
3737
* @param ?string $notes
3838
*
39-
* @throws InsufficientBalanceException
39+
* @throws \HPWebdeveloper\LaravelPayPocket\Exceptions\InsufficientBalanceException
4040
*/
4141
public function pay(int|float $orderValue, ?string $notes = null): void;
4242

src/Services/PocketServices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function deposit(Model $user, string $type, int|float $amount, ?string $n
2929
* @param ?string $notes
3030
*
3131
* @return void
32-
* @throws InsufficientBalanceException
32+
* @throws \HPWebdeveloper\LaravelPayPocket\Exceptions\InsufficientBalanceException
3333
*/
3434
public function pay(Model $user, int|float $orderValue, ?string $notes = null): void
3535
{
@@ -62,4 +62,4 @@ public function walletBalanceByType(Model $user, string $type): float|int
6262
{
6363
return $user->getWalletBalanceByType($type);
6464
}
65-
}
65+
}

src/Traits/HandlesPayment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ trait HandlesPayment
1414
* @param ?string $notes
1515
*
1616
* @return void
17-
* @throws InsufficientBalanceException
17+
* @throws \HPWebdeveloper\LaravelPayPocket\Exceptions\InsufficientBalanceException
1818
*/
1919
public function pay(int|float $orderValue, ?string $notes = null): void
2020
{
@@ -46,4 +46,4 @@ public function pay(int|float $orderValue, ?string $notes = null): void
4646
}
4747
});
4848
}
49-
}
49+
}

0 commit comments

Comments
 (0)