@@ -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 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
9 | 9 | use Symfony\Component\HttpFoundation\Session\SessionInterface; |
10 | 10 | |
11 | -class LogoutHandler implements LogoutHandlerInterface{ |
|
11 | +class LogoutHandler implements LogoutHandlerInterface { |
|
12 | 12 | |
13 | 13 | private $session; |
14 | 14 | |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | public function logout(Request $request, Response $response, TokenInterface $token) |
21 | 21 | { |
22 | - if($this->session->has('cart_keys')) { |
|
22 | + if ($this->session->has('cart_keys')) { |
|
23 | 23 | $this->session->remove('cart_keys'); |
24 | 24 | } |
25 | 25 | } |