From 3cfbee5864a5915bd775287967416490cbbfebda Mon Sep 17 00:00:00 2001 From: Mahdi Date: Sun, 17 Nov 2024 22:12:32 +0330 Subject: [PATCH] more refactor --- src/EventHandler/Payments/Payment.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EventHandler/Payments/Payment.php b/src/EventHandler/Payments/Payment.php index 6739cc1a2..eae28ee10 100644 --- a/src/EventHandler/Payments/Payment.php +++ b/src/EventHandler/Payments/Payment.php @@ -19,7 +19,9 @@ namespace danog\MadelineProto\EventHandler\Payments; use danog\MadelineProto\EventHandler\Update; use danog\MadelineProto\MTProto; -/** This object contains information about an incoming pre-checkout query. */ +/** + * This object contains information about an incoming pre-checkout query. + */ class Payment extends Update { /** Unique query identifier */ @@ -73,7 +75,6 @@ class Payment extends Update * Reject pending payment. * note that you must call this function or accept function up to 10 seconds after user accept payment!!. * @param string $errorMessage if the success isn’t set. Error message in human-readable form that explains the reason for failure to proceed with the checkout - * */ public function reject(string $errorMessage): false {