This commit is contained in:
2025-03-16 14:12:26 +05:00
parent 0b47fe694c
commit e0d876707d
6 changed files with 110 additions and 43 deletions

View File

@@ -187,7 +187,7 @@ class OnlinePaymentRepo
/**
* Successfully payment response
*
* @return array<string, bool|string>
* @return array{success: bool, title: string, pnr: string, branch_name: string, price_amount: string, return_url: string}
*/
public static function successfulPaymentResponse(
OnlinePaymentHistory $paymentHistory,
@@ -208,7 +208,7 @@ class OnlinePaymentRepo
/**
* Failed payment response
*
* @return array<string, bool|string>
* @return array{success: bool, title: string, pnr: string, branch_name: string, price_amount: string, return_url: string}
*/
public static function failedPaymentResponse(
OnlinePaymentHistory $paymentHistory,
@@ -229,7 +229,7 @@ class OnlinePaymentRepo
/**
* Resource not found
*
* @return array<string, string|bool>
* @return array{success: bool, title: string, pnr: string, branch_name: string, price_amount: string, return_url: string}
*/
protected static function resourceNotFound(): array
{