By bojanz on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-2.x
Introduced in version:
8.x-2.4
Issue links:
Description:
The signature of CartProvider methods which accept a $store has changed to allow a NULL value, which indicates that the current store should be used.
Before:
public function createCart($order_type, StoreInterface $store, AccountInterface $account = NULL) {
After:
public function createCart($order_type, StoreInterface $store = NULL, AccountInterface $account = NULL) {
This simplifies the calling code in cases when only a single store is ever used.
Impacts:
Module developers