@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sylius\ShopApiPlugin\View; |
| 6 | 6 | |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | $address->setPostcode($command->postcode()); |
| 81 | 81 | $address->setPhoneNumber($command->phoneNumber()); |
| 82 | 82 | |
| 83 | - if($command->provinceCode()) { |
|
| 83 | + if ($command->provinceCode()) { |
|
| 84 | 84 | $province = $this->getProvince($command->provinceCode()); |
| 85 | 85 | $this->assertProvinceExists($province); |
| 86 | 86 | $address->setProvinceCode($province->getCode()); |
@@ -52,8 +52,7 @@ |
||
| 52 | 52 | RepositoryInterface $provinceRepository, |
| 53 | 53 | FactoryInterface $addressFactory, |
| 54 | 54 | TokenStorageInterface $tokenStorage |
| 55 | - ) |
|
| 56 | - { |
|
| 55 | + ) { |
|
| 57 | 56 | $this->addressRepository = $addressRepository; |
| 58 | 57 | $this->countryRepository = $countryRepository; |
| 59 | 58 | $this->provinceRepository = $provinceRepository; |
@@ -52,8 +52,7 @@ |
||
| 52 | 52 | ValidationErrorViewFactory $validationErrorViewFactory, |
| 53 | 53 | CommandBus $bus, |
| 54 | 54 | TokenStorageInterface $tokenStorage |
| 55 | - ) |
|
| 56 | - { |
|
| 55 | + ) { |
|
| 57 | 56 | $this->viewHandler = $viewHandler; |
| 58 | 57 | $this->validator = $validator; |
| 59 | 58 | $this->validationErrorViewFactory = $validationErrorViewFactory; |
@@ -39,8 +39,7 @@ |
||
| 39 | 39 | ViewHandlerInterface $viewHandler, |
| 40 | 40 | TokenStorageInterface $tokenStorage, |
| 41 | 41 | AddressBookViewFactoryInterface $addressBookViewFactory |
| 42 | - ) |
|
| 43 | - { |
|
| 42 | + ) { |
|
| 44 | 43 | $this->viewHandler = $viewHandler; |
| 45 | 44 | $this->tokenStorage = $tokenStorage; |
| 46 | 45 | $this->addressBookViewFactory = $addressBookViewFactory; |
@@ -45,8 +45,7 @@ |
||
| 45 | 45 | CommandBus $bus, |
| 46 | 46 | ValidatorInterface $validator, |
| 47 | 47 | ValidationErrorViewFactoryInterface $validationErrorViewFactory |
| 48 | - ) |
|
| 49 | - { |
|
| 48 | + ) { |
|
| 50 | 49 | $this->viewHandler = $viewHandler; |
| 51 | 50 | $this->bus = $bus; |
| 52 | 51 | $this->validator = $validator; |