diff --git a/src/Compatibility/Storefront/Route/PaymentMethodRoute/Cache/CachedPaymentMethodRoute64.php b/src/Compatibility/Storefront/Route/PaymentMethodRoute/Cache/CachedPaymentMethodRoute64.php index 7618e0368..d2ee4bbe5 100644 --- a/src/Compatibility/Storefront/Route/PaymentMethodRoute/Cache/CachedPaymentMethodRoute64.php +++ b/src/Compatibility/Storefront/Route/PaymentMethodRoute/Cache/CachedPaymentMethodRoute64.php @@ -151,19 +151,34 @@ private function isSubscriptionCart(Cart $cart): bool return false; } + /** + * @param Cart $cart + * @param array $cacheParts + * @return array + */ private function addCartAmountKey(Cart $cart, array $cacheParts): array { $cacheParts[] = $cart->getPrice()->getTotalPrice(); return $cacheParts; } - private function addCurrencyCodeKey(SalesChannelContext $context, array $cacheParts) + /** + * @param SalesChannelContext $context + * @param array $cacheParts + * @return array + */ + private function addCurrencyCodeKey(SalesChannelContext $context, array $cacheParts):array { $cacheParts[] = $context->getCurrency()->getIsoCode(); return $cacheParts; } - private function addBillingAddressKey(SalesChannelContext $context, array $cacheParts) + /** + * @param SalesChannelContext $context + * @param array $cacheParts + * @return array + */ + private function addBillingAddressKey(SalesChannelContext $context, array $cacheParts):array { $customer = $context->getCustomer();