@@ -45,7 +45,7 @@ |
||
45 | 45 | SessionInterface $session, |
46 | 46 | OrderRepositoryInterface $orderRepository, |
47 | 47 | OrderInterface $cart |
48 | - ) { |
|
48 | + ) { |
|
49 | 49 | $session->has('session_key_name')->willReturn(true); |
50 | 50 | $session->get('session_key_name')->willReturn(12345); |
51 | 51 | $orderRepository->findCartById(12345)->willReturn($cart); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | array $parameters, |
48 | 48 | RouterInterface $router, |
49 | 49 | AddressFactoryInterface $addressFactory |
50 | - ){ |
|
50 | + ) { |
|
51 | 51 | parent::__construct($session, $parameters, $router); |
52 | 52 | |
53 | 53 | $this->addressFactory = $addressFactory; |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | */ |
413 | 413 | private function waitForElement($timeout, $elementName) |
414 | 414 | { |
415 | - return $this->getDocument()->waitFor($timeout, function () use ($elementName){ |
|
415 | + return $this->getDocument()->waitFor($timeout, function () use ($elementName) { |
|
416 | 416 | return $this->hasElement($elementName); |
417 | 417 | }); |
418 | 418 | } |
@@ -96,7 +96,7 @@ |
||
96 | 96 | */ |
97 | 97 | private function waitForElement($timeout, $elementName) |
98 | 98 | { |
99 | - $this->getDocument()->waitFor($timeout, function () use ($elementName){ |
|
99 | + $this->getDocument()->waitFor($timeout, function () use ($elementName) { |
|
100 | 100 | return $this->hasElement($elementName); |
101 | 101 | }); |
102 | 102 | } |