From b56f81c65eff4ff100f27a4f31169a28e54709bb Mon Sep 17 00:00:00 2001 From: Dimitri BOUTEILLE Date: Tue, 28 Jan 2025 11:19:40 +0100 Subject: [PATCH] Add some functions in Magento\Checkout\Model\Session --- app/code/Magento/Checkout/Model/Session.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/code/Magento/Checkout/Model/Session.php b/app/code/Magento/Checkout/Model/Session.php index c3d26c7af4ddb..568befefd99da 100644 --- a/app/code/Magento/Checkout/Model/Session.php +++ b/app/code/Magento/Checkout/Model/Session.php @@ -21,6 +21,17 @@ * @SuppressWarnings(PHPMD.CookieAndSessionMisuse) * @SuppressWarnings(PHPMD.TooManyFields) * @since 100.0.2 + * + * @method int|null getLastOrderId() + * @method self setLastOrderId(int|null $orderId) + * @method mixed getLastRealOrderId() + * @method self setLastRealOrderId(mixed $orderId) + * @method string|null getLastOrderStatus() + * @method self setLastOrderStatus(string|null $status) + * @method int|null getLastQuoteId() + * @method self setLastQuoteId(int|null $quoteId) + * @method int|null getLastSuccessQuoteId() + * @method self setLastSuccessQuoteId(int|null $quoteId) */ class Session extends \Magento\Framework\Session\SessionManager {