@@ -18,8 +18,6 @@ |
||
| 18 | 18 | use Sylius\Behat\Page\SymfonyPage; |
| 19 | 19 | use Sylius\Component\Core\Factory\AddressFactoryInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\AddressInterface; |
| 21 | -use Sylius\Component\Locale\Context\LocaleContextInterface; |
|
| 22 | -use Symfony\Component\Intl\Intl; |
|
| 23 | 21 | use Symfony\Component\Routing\RouterInterface; |
| 24 | 22 | use Webmozart\Assert\Assert; |
| 25 | 23 | |
@@ -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 | } |