Skip to content

Commit

Permalink
Merge pull request EC-CUBE#17 from chrisL-meier/feature/phpstan_level…
Browse files Browse the repository at this point in the history
…2_bugfixes

Feature/phpstan level2 bugfixes
  • Loading branch information
sai-gillingham authored Nov 8, 2023
2 parents acf549e + 3fc6811 commit 4a2073a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function calculateAddPoint(ItemHolderInterface $itemHolder)
$basicPointRate = $this->BaseInfo->getBasicPointRate();

// 明細ごとのポイントを集計
$totalPoint = array_reduce($itemHolder->getItems(),
$totalPoint = array_reduce($itemHolder->getItems()->toArray(),
function ($carry, ItemInterface $item) use ($basicPointRate) {

$pointRate = $item->getPointRate() ? $item->getPointRate() : null;
Expand Down

0 comments on commit 4a2073a

Please sign in to comment.