Completed
Pull Request — 4.0 (#4223)
by Kentaro
04:57
created
src/Eccube/Service/PurchaseFlow/Processor/AddPointProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/PurchaseFlow.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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, '│');
Please login to merge, or discard this patch.