@@ -83,7 +83,7 @@ |
||
83 | 83 | } elseif ($item->isProduct()) { |
84 | 84 | // ポイント = 単価 * ポイント付与率 * 数量 |
85 | 85 | $point = round($item->getPrice() * ($pointRate / 100)) * $item->getQuantity(); |
86 | - } elseif($item->isDiscount()) { |
|
86 | + } elseif ($item->isDiscount()) { |
|
87 | 87 | $point = round($item->getPrice() * ($pointRate / 100)) * $item->getQuantity(); |
88 | 88 | } |
89 | 89 |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | */ |
380 | 380 | public function dump() |
381 | 381 | { |
382 | - $flows =[ |
|
382 | + $flows = [ |
|
383 | 383 | 0 => $this->flowType.' flow', |
384 | 384 | 'ItemValidator' => $this->itemValidators->toArray(), |
385 | 385 | 'ItemHolderValidator' => $this->itemHolderValidators->toArray(), |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | 'DiscountProcessor' => $this->discountProcessors->toArray(), |
389 | 389 | 'ItemHolderPostValidator' => $this->itemHolderPostValidators->toArray() |
390 | 390 | ]; |
391 | - $tree = new \RecursiveTreeIterator(new \RecursiveArrayIterator($flows)); |
|
391 | + $tree = new \RecursiveTreeIterator(new \RecursiveArrayIterator($flows)); |
|
392 | 392 | $tree->setPrefixPart(\RecursiveTreeIterator::PREFIX_RIGHT, ' '); |
393 | 393 | $tree->setPrefixPart(\RecursiveTreeIterator::PREFIX_MID_LAST, ' '); |
394 | 394 | $tree->setPrefixPart(\RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│'); |