Failed Conditions
Pull Request — master (#229)
by
unknown
02:57
created
src/View/AddressBookView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Handler/CreateAddressHandler.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Controller/AddressBook/RemoveAddressAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Controller/AddressBook/ShowAddressBookAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Controller/AddressBook/CreateAddressAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.