From b27519bf79b9ecf176379857d399210e0041421e Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Wed, 19 Oct 2022 20:23:05 +0200 Subject: [PATCH] Fix: the force param is in a array in 11 --- src/CustomerProvider/DefaultCustomerProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CustomerProvider/DefaultCustomerProvider.php b/src/CustomerProvider/DefaultCustomerProvider.php index a1320fac..8c3514ce 100644 --- a/src/CustomerProvider/DefaultCustomerProvider.php +++ b/src/CustomerProvider/DefaultCustomerProvider.php @@ -216,7 +216,7 @@ public function delete(CustomerInterface $customer) */ public function getById($id, $force = false) { - return $this->callStatic('getById', [$id, $force]); + return $this->callStatic('getById', [$id, ['force' => $force]]); } /**