Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
HPWebdeveloper authored and github-actions[bot] committed Dec 12, 2023
1 parent 994a743 commit bf92ab1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Exceptions/InsufficientBalanceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class InsufficientBalanceException extends Exception
* @param string $message
* @param int $code
*/
public function __construct($message = 'Insufficient balance to cover the order', $code = 0, \Throwable $previous = null)
public function __construct($message = 'Insufficient balance to cover the order', $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidDepositException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class InvalidDepositException extends Exception
* @param string $message
* @param int $code
*/
public function __construct($message = 'Invalid deposit operation', $code = 0, \Throwable $previous = null)
public function __construct($message = 'Invalid deposit operation', $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class InvalidValueException extends Exception
* @param string $message
* @param int $code
*/
public function __construct($message = 'Invalie value to deposit', $code = 0, \Throwable $previous = null)
public function __construct($message = 'Invalie value to deposit', $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidWalletTypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class InvalidWalletTypeException extends Exception
{
public function __construct($message = 'Invalid wallet type', $code = 0, \Throwable $previous = null)
public function __construct($message = 'Invalid wallet type', $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/WalletNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class WalletNotFoundException extends Exception
{
public function __construct($message = 'Wallet not found', $code = 0, \Throwable $previous = null)
public function __construct($message = 'Wallet not found', $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down
2 changes: 0 additions & 2 deletions src/Traits/HandlesPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ trait HandlesPayment
/**
* Pay the order value from the user's wallets.
*
* @param int|float $orderValue
* @return void
*
* @throws InsufficientBalanceException
*/
Expand Down

0 comments on commit bf92ab1

Please sign in to comment.