@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | */ |
223 | 223 | public function getProductQuantity($productClassId) |
224 | 224 | { |
225 | - $CartItem = $this->cart->getCartItemByIdentifier('Eccube\Entity\ProductClass', (string)$productClassId); |
|
225 | + $CartItem = $this->cart->getCartItemByIdentifier('Eccube\Entity\ProductClass', (string) $productClassId); |
|
226 | 226 | if ($CartItem) { |
227 | 227 | return $CartItem->getQuantity(); |
228 | 228 | } else { |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | $CartItem = new CartItem(); |
306 | 306 | $CartItem |
307 | 307 | ->setClassName('Eccube\Entity\ProductClass') |
308 | - ->setClassId((string)$ProductClass->getId()) |
|
308 | + ->setClassId((string) $ProductClass->getId()) |
|
309 | 309 | ->setPrice($ProductClass->getPrice02IncTax()) |
310 | 310 | ->setQuantity($quantity); |
311 | 311 | |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | */ |
462 | 462 | public function removeProduct($productClassId) |
463 | 463 | { |
464 | - $this->cart->removeCartItemByIdentifier('Eccube\Entity\ProductClass', (string)$productClassId); |
|
464 | + $this->cart->removeCartItemByIdentifier('Eccube\Entity\ProductClass', (string) $productClassId); |
|
465 | 465 | |
466 | 466 | // 支払方法の再設定 |
467 | 467 | if ($this->BaseInfo->getOptionMultipleShipping() == Constant::ENABLED) { |