Skip to content

Commit

Permalink
Fix: the force param is in a array in 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored and dvesh3 committed Oct 20, 2022
1 parent c6dba58 commit b27519b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CustomerProvider/DefaultCustomerProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]]);
}

/**
Expand Down

0 comments on commit b27519b

Please sign in to comment.