@@ -16,9 +16,9 @@ |
||
| 16 | 16 | use Sylius\Component\Customer\Model\CustomerAwareInterface; |
| 17 | 17 | use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
| 18 | 18 | use Sylius\Component\Payment\Model\PaymentsSubjectInterface; |
| 19 | -use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 20 | 19 | use Sylius\Component\Promotion\Model\CountablePromotionSubjectInterface; |
| 21 | 20 | use Sylius\Component\Promotion\Model\PromotionCouponAwarePromotionSubjectInterface; |
| 21 | +use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 22 | 22 | use Sylius\Component\User\Model\UserInterface; |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -44,6 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @param AddressInterface $address |
| 47 | + * @return void |
|
| 47 | 48 | */ |
| 48 | 49 | public function setShippingAddress(AddressInterface $address); |
| 49 | 50 | |
@@ -54,6 +55,7 @@ discard block |
||
| 54 | 55 | |
| 55 | 56 | /** |
| 56 | 57 | * @param AddressInterface $address |
| 58 | + * @return void |
|
| 57 | 59 | */ |
| 58 | 60 | public function setBillingAddress(AddressInterface $address); |
| 59 | 61 | |
@@ -64,6 +66,7 @@ discard block |
||
| 64 | 66 | |
| 65 | 67 | /** |
| 66 | 68 | * @param string $checkoutState |
| 69 | + * @return void |
|
| 67 | 70 | */ |
| 68 | 71 | public function setCheckoutState($checkoutState); |
| 69 | 72 | |
@@ -74,6 +77,7 @@ discard block |
||
| 74 | 77 | |
| 75 | 78 | /** |
| 76 | 79 | * @param string $paymentState |
| 80 | + * @return void |
|
| 77 | 81 | */ |
| 78 | 82 | public function setPaymentState($paymentState); |
| 79 | 83 | |
@@ -101,14 +105,19 @@ discard block |
||
| 101 | 105 | |
| 102 | 106 | /** |
| 103 | 107 | * @param ShipmentInterface $shipment |
| 108 | + * @return void |
|
| 104 | 109 | */ |
| 105 | 110 | public function addShipment(ShipmentInterface $shipment); |
| 106 | 111 | |
| 107 | 112 | /** |
| 108 | 113 | * @param ShipmentInterface $shipment |
| 114 | + * @return void |
|
| 109 | 115 | */ |
| 110 | 116 | public function removeShipment(ShipmentInterface $shipment); |
| 111 | 117 | |
| 118 | + /** |
|
| 119 | + * @return void |
|
| 120 | + */ |
|
| 112 | 121 | public function removeShipments(); |
| 113 | 122 | |
| 114 | 123 | /** |
@@ -127,6 +136,7 @@ discard block |
||
| 127 | 136 | * @param string |
| 128 | 137 | * |
| 129 | 138 | * @throws \InvalidArgumentException |
| 139 | + * @return void |
|
| 130 | 140 | */ |
| 131 | 141 | public function setCurrencyCode($currencyCode); |
| 132 | 142 | |
@@ -139,11 +149,13 @@ discard block |
||
| 139 | 149 | |
| 140 | 150 | /** |
| 141 | 151 | * @param string |
| 152 | + * @return void |
|
| 142 | 153 | */ |
| 143 | 154 | public function setLocaleCode($localeCode); |
| 144 | 155 | |
| 145 | 156 | /** |
| 146 | 157 | * @param BaseCouponInterface $coupon |
| 158 | + * @return void |
|
| 147 | 159 | */ |
| 148 | 160 | public function setPromotionCoupon(BaseCouponInterface $coupon = null); |
| 149 | 161 | |
@@ -154,6 +166,7 @@ discard block |
||
| 154 | 166 | |
| 155 | 167 | /** |
| 156 | 168 | * @param string $state |
| 169 | + * @return void |
|
| 157 | 170 | */ |
| 158 | 171 | public function setShippingState($state); |
| 159 | 172 | |
@@ -186,6 +199,7 @@ discard block |
||
| 186 | 199 | |
| 187 | 200 | /** |
| 188 | 201 | * @param string $tokenValue |
| 202 | + * @return void |
|
| 189 | 203 | */ |
| 190 | 204 | public function setTokenValue($tokenValue); |
| 191 | 205 | |
@@ -196,6 +210,7 @@ discard block |
||
| 196 | 210 | |
| 197 | 211 | /** |
| 198 | 212 | * @param string $customerIp |
| 213 | + * @return void |
|
| 199 | 214 | */ |
| 200 | 215 | public function setCustomerIp($customerIp); |
| 201 | 216 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Core\Model; |
| 15 | 15 | |
@@ -13,10 +13,10 @@ |
||
| 13 | 13 | |
| 14 | 14 | use SM\Factory\FactoryInterface; |
| 15 | 15 | use SM\StateMachine\StateMachineInterface; |
| 16 | -use Sylius\Component\Order\Model\OrderInterface; |
|
| 17 | -use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 18 | 16 | use Sylius\Component\Core\Model\PaymentInterface; |
| 19 | 17 | use Sylius\Component\Core\OrderPaymentTransitions; |
| 18 | +use Sylius\Component\Order\Model\OrderInterface; |
|
| 19 | +use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Core\StateResolver; |
| 15 | 15 | |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | |
| 14 | 14 | use SM\Factory\FactoryInterface; |
| 15 | 15 | use SM\StateMachine\StateMachineInterface; |
| 16 | -use Sylius\Component\Order\Model\OrderInterface; |
|
| 17 | -use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 18 | 16 | use Sylius\Component\Core\Model\ShipmentInterface; |
| 19 | 17 | use Sylius\Component\Core\OrderShippingStates; |
| 20 | 18 | use Sylius\Component\Core\OrderShippingTransitions; |
| 19 | +use Sylius\Component\Order\Model\OrderInterface; |
|
| 20 | +use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Core\StateResolver; |
| 15 | 15 | |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | | sylius.two | |
| 57 | 57 | +------------+ |
| 58 | 58 | |
| 59 | -EOT |
|
| 59 | +eot |
|
| 60 | 60 | , $display); |
| 61 | 61 | } |
| 62 | 62 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | | whatever.something.elephants | camels | |
| 83 | 83 | +------------------------------+-----------------+ |
| 84 | 84 | |
| 85 | -EOT |
|
| 85 | +eot |
|
| 86 | 86 | , $display); |
| 87 | 87 | } |
| 88 | 88 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\ResourceBundle\Tests\Command; |
| 15 | 15 | |
@@ -969,7 +969,7 @@ discard block |
||
| 969 | 969 | ], |
| 970 | 970 | ]; |
| 971 | 971 | $routeFactory->createRoute('/products/new', $createDefaults, [], [], '', [], ['GET', 'POST']) |
| 972 | - ->willReturn($createRoute); |
|
| 972 | + ->willReturn($createRoute); |
|
| 973 | 973 | $routeCollection->add('sylius_product_create', $createRoute)->shouldBeCalled(); |
| 974 | 974 | |
| 975 | 975 | $updateDefaults = [ |
@@ -979,7 +979,7 @@ discard block |
||
| 979 | 979 | ], |
| 980 | 980 | ]; |
| 981 | 981 | $routeFactory->createRoute('/products/{id}/edit', $updateDefaults, [], [], '', [], ['GET', 'PUT', 'PATCH']) |
| 982 | - ->willReturn($updateRoute); |
|
| 982 | + ->willReturn($updateRoute); |
|
| 983 | 983 | $routeCollection->add('sylius_product_update', $updateRoute)->shouldBeCalled(); |
| 984 | 984 | |
| 985 | 985 | $deleteDefaults = [ |
@@ -989,7 +989,7 @@ discard block |
||
| 989 | 989 | ], |
| 990 | 990 | ]; |
| 991 | 991 | $routeFactory->createRoute('/products/{id}', $deleteDefaults, [], [], '', [], ['DELETE']) |
| 992 | - ->willReturn($deleteRoute); |
|
| 992 | + ->willReturn($deleteRoute); |
|
| 993 | 993 | $routeCollection->add('sylius_product_delete', $deleteRoute)->shouldBeCalled(); |
| 994 | 994 | |
| 995 | 995 | $this->load($configuration, 'sylius.resource')->shouldReturn($routeCollection); |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace spec\Sylius\Bundle\ResourceBundle\Routing; |
| 15 | 15 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | <<<EOT |
| 50 | 50 | foo: bar |
| 51 | 51 | only: string |
| 52 | -EOT; |
|
| 52 | +eot; |
|
| 53 | 53 | |
| 54 | 54 | $this |
| 55 | 55 | ->shouldThrow(InvalidConfigurationException::class) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $configuration = |
| 64 | 64 | <<<EOT |
| 65 | 65 | alias: sylius.foo |
| 66 | -EOT; |
|
| 66 | +eot; |
|
| 67 | 67 | |
| 68 | 68 | $this |
| 69 | 69 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $configuration = |
| 93 | 93 | <<<EOT |
| 94 | 94 | alias: sylius.product |
| 95 | -EOT; |
|
| 95 | +eot; |
|
| 96 | 96 | |
| 97 | 97 | $showDefaults = [ |
| 98 | 98 | '_controller' => 'sylius.controller.product:showAction', |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | $configuration = |
| 165 | 165 | <<<EOT |
| 166 | 166 | alias: sylius.product_option |
| 167 | -EOT; |
|
| 167 | +eot; |
|
| 168 | 168 | |
| 169 | 169 | $showDefaults = [ |
| 170 | 170 | '_controller' => 'sylius.controller.product_option:showAction', |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | criteria: |
| 241 | 241 | code: \$code |
| 242 | 242 | filterable: true |
| 243 | -EOT; |
|
| 243 | +eot; |
|
| 244 | 244 | |
| 245 | 245 | $showDefaults = [ |
| 246 | 246 | '_controller' => 'sylius.controller.product_option:showAction', |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | <<<EOT |
| 334 | 334 | alias: sylius.product |
| 335 | 335 | path: super-duper-products |
| 336 | -EOT; |
|
| 336 | +eot; |
|
| 337 | 337 | |
| 338 | 338 | $showDefaults = [ |
| 339 | 339 | '_controller' => 'sylius.controller.product:showAction', |
@@ -406,7 +406,7 @@ discard block |
||
| 406 | 406 | <<<EOT |
| 407 | 407 | alias: sylius.product |
| 408 | 408 | form: sylius_product_custom |
| 409 | -EOT; |
|
| 409 | +eot; |
|
| 410 | 410 | |
| 411 | 411 | $showDefaults = [ |
| 412 | 412 | '_controller' => 'sylius.controller.product:showAction', |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | <<<EOT |
| 482 | 482 | alias: sylius.product |
| 483 | 483 | section: admin |
| 484 | -EOT; |
|
| 484 | +eot; |
|
| 485 | 485 | |
| 486 | 486 | $showDefaults = [ |
| 487 | 487 | '_controller' => 'sylius.controller.product:showAction', |
@@ -559,7 +559,7 @@ discard block |
||
| 559 | 559 | <<<EOT |
| 560 | 560 | alias: sylius.product |
| 561 | 561 | templates: SyliusAdminBundle:Product |
| 562 | -EOT; |
|
| 562 | +eot; |
|
| 563 | 563 | |
| 564 | 564 | $showDefaults = [ |
| 565 | 565 | '_controller' => 'sylius.controller.product:showAction', |
@@ -634,7 +634,7 @@ discard block |
||
| 634 | 634 | <<<EOT |
| 635 | 635 | alias: sylius.product |
| 636 | 636 | except: ['show', 'delete'] |
| 637 | -EOT; |
|
| 637 | +eot; |
|
| 638 | 638 | |
| 639 | 639 | $indexDefaults = [ |
| 640 | 640 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -686,7 +686,7 @@ discard block |
||
| 686 | 686 | <<<EOT |
| 687 | 687 | alias: sylius.product |
| 688 | 688 | only: ['create', 'index'] |
| 689 | -EOT; |
|
| 689 | +eot; |
|
| 690 | 690 | |
| 691 | 691 | $indexDefaults = [ |
| 692 | 692 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -716,7 +716,7 @@ discard block |
||
| 716 | 716 | alias: sylius.product |
| 717 | 717 | except: ['show', 'delete'] |
| 718 | 718 | only: ['create'] |
| 719 | -EOT; |
|
| 719 | +eot; |
|
| 720 | 720 | |
| 721 | 721 | $this |
| 722 | 722 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -746,7 +746,7 @@ discard block |
||
| 746 | 746 | <<<EOT |
| 747 | 747 | alias: sylius.product |
| 748 | 748 | redirect: update |
| 749 | -EOT; |
|
| 749 | +eot; |
|
| 750 | 750 | |
| 751 | 751 | $showDefaults = [ |
| 752 | 752 | '_controller' => 'sylius.controller.product:showAction', |
@@ -820,7 +820,7 @@ discard block |
||
| 820 | 820 | $configuration = |
| 821 | 821 | <<<EOT |
| 822 | 822 | alias: sylius.product |
| 823 | -EOT; |
|
| 823 | +eot; |
|
| 824 | 824 | |
| 825 | 825 | $showDefaults = [ |
| 826 | 826 | '_controller' => 'sylius.controller.product:showAction', |
@@ -896,7 +896,7 @@ discard block |
||
| 896 | 896 | alias: sylius.product |
| 897 | 897 | only: ['create', 'index'] |
| 898 | 898 | grid: sylius_admin_product |
| 899 | -EOT; |
|
| 899 | +eot; |
|
| 900 | 900 | |
| 901 | 901 | $indexDefaults = [ |
| 902 | 902 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -949,7 +949,7 @@ discard block |
||
| 949 | 949 | bar: foo |
| 950 | 950 | update: |
| 951 | 951 | abc: xyz |
| 952 | -EOT; |
|
| 952 | +eot; |
|
| 953 | 953 | |
| 954 | 954 | $showDefaults = [ |
| 955 | 955 | '_controller' => 'sylius.controller.product:showAction', |
@@ -1039,7 +1039,7 @@ discard block |
||
| 1039 | 1039 | <<<EOT |
| 1040 | 1040 | alias: sylius.product |
| 1041 | 1041 | permission: true |
| 1042 | -EOT; |
|
| 1042 | +eot; |
|
| 1043 | 1043 | |
| 1044 | 1044 | $showDefaults = [ |
| 1045 | 1045 | '_controller' => 'sylius.controller.product:showAction', |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\ResourceBundle\Routing; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Sylius\Bundle\ResourceBundle\Routing\ResourceLoader; |
|
| 18 | 17 | use Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface; |
| 19 | 18 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
| 20 | 19 | use Sylius\Component\Resource\Metadata\RegistryInterface; |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | "username": "[email protected]", |
| 36 | 36 | "password": "sylius" |
| 37 | 37 | } |
| 38 | -EOT; |
|
| 38 | +eot; |
|
| 39 | 39 | |
| 40 | 40 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 41 | 41 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | "grant_type": "refresh_token", |
| 59 | 59 | "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng" |
| 60 | 60 | } |
| 61 | -EOT; |
|
| 61 | +eot; |
|
| 62 | 62 | |
| 63 | 63 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 64 | 64 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Tests\Controller; |
| 15 | 15 | |
@@ -20,24 +20,31 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $title |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function titleReview($title); |
| 25 | 26 | |
| 26 | 27 | /** |
| 27 | 28 | * @param string $comment |
| 29 | + * @return void |
|
| 28 | 30 | */ |
| 29 | 31 | public function setComment($comment); |
| 30 | 32 | |
| 31 | 33 | /** |
| 32 | 34 | * @param string $author |
| 35 | + * @return void |
|
| 33 | 36 | */ |
| 34 | 37 | public function setAuthor($author); |
| 35 | 38 | |
| 36 | 39 | /** |
| 37 | 40 | * @param int $rate |
| 41 | + * @return void |
|
| 38 | 42 | */ |
| 39 | 43 | public function rateReview($rate); |
| 40 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 41 | 48 | public function submitReview(); |
| 42 | 49 | |
| 43 | 50 | /** |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\ProductReview; |
| 15 | 15 | |
@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | 23 | * @throws \RuntimeException |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function chooseDifferentBillingAddress(); |
| 26 | 27 | |
@@ -39,21 +40,25 @@ discard block |
||
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param AddressInterface $billingAddress |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function specifyBillingAddress(AddressInterface $billingAddress); |
| 44 | 46 | |
| 45 | 47 | /** |
| 46 | 48 | * @param string $province |
| 49 | + * @return void |
|
| 47 | 50 | */ |
| 48 | 51 | public function selectBillingAddressProvince($province); |
| 49 | 52 | |
| 50 | 53 | /** |
| 51 | 54 | * @param AddressInterface $shippingAddress |
| 55 | + * @return void |
|
| 52 | 56 | */ |
| 53 | 57 | public function specifyShippingAddress(AddressInterface $shippingAddress); |
| 54 | 58 | |
| 55 | 59 | /** |
| 56 | 60 | * @param string $province |
| 61 | + * @return void |
|
| 57 | 62 | */ |
| 58 | 63 | public function selectShippingAddressProvince($province); |
| 59 | 64 | |
@@ -62,15 +67,20 @@ discard block |
||
| 62 | 67 | */ |
| 63 | 68 | public function canSignIn(); |
| 64 | 69 | |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 65 | 73 | public function signIn(); |
| 66 | 74 | |
| 67 | 75 | /** |
| 68 | 76 | * @param string $email |
| 77 | + * @return void |
|
| 69 | 78 | */ |
| 70 | 79 | public function specifyEmail($email); |
| 71 | 80 | |
| 72 | 81 | /** |
| 73 | 82 | * @param string $password |
| 83 | + * @return void |
|
| 74 | 84 | */ |
| 75 | 85 | public function specifyPassword($password); |
| 76 | 86 | |
@@ -86,17 +96,25 @@ discard block |
||
| 86 | 96 | */ |
| 87 | 97 | public function getShippingAddressCountry(); |
| 88 | 98 | |
| 99 | + /** |
|
| 100 | + * @return void |
|
| 101 | + */ |
|
| 89 | 102 | public function nextStep(); |
| 90 | 103 | |
| 104 | + /** |
|
| 105 | + * @return void |
|
| 106 | + */ |
|
| 91 | 107 | public function backToStore(); |
| 92 | 108 | |
| 93 | 109 | /** |
| 94 | 110 | * @param string $provinceName |
| 111 | + * @return void |
|
| 95 | 112 | */ |
| 96 | 113 | public function specifyBillingAddressProvince($provinceName); |
| 97 | 114 | |
| 98 | 115 | /** |
| 99 | 116 | * @param string $provinceName |
| 117 | + * @return void |
|
| 100 | 118 | */ |
| 101 | 119 | public function specifyShippingAddressProvince($provinceName); |
| 102 | 120 | |
@@ -112,11 +130,13 @@ discard block |
||
| 112 | 130 | |
| 113 | 131 | /** |
| 114 | 132 | * @param AddressInterface $address |
| 133 | + * @return void |
|
| 115 | 134 | */ |
| 116 | 135 | public function selectShippingAddressFromAddressBook(AddressInterface $address); |
| 117 | 136 | |
| 118 | 137 | /** |
| 119 | 138 | * @param AddressInterface $address |
| 139 | + * @return void |
|
| 120 | 140 | */ |
| 121 | 141 | public function selectBillingAddressFromAddressBook(AddressInterface $address); |
| 122 | 142 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\Checkout; |
| 15 | 15 | |
@@ -22,6 +22,7 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param string $customerName |
| 25 | + * @return boolean |
|
| 25 | 26 | */ |
| 26 | 27 | public function hasCustomer($customerName); |
| 27 | 28 | |
@@ -56,6 +57,7 @@ discard block |
||
| 56 | 57 | |
| 57 | 58 | /** |
| 58 | 59 | * @param string $code |
| 60 | + * @return void |
|
| 59 | 61 | */ |
| 60 | 62 | public function specifyTrackingCode($code); |
| 61 | 63 | |
@@ -68,6 +70,7 @@ discard block |
||
| 68 | 70 | |
| 69 | 71 | /** |
| 70 | 72 | * @param OrderInterface $order |
| 73 | + * @return void |
|
| 71 | 74 | */ |
| 72 | 75 | public function shipOrder(OrderInterface $order); |
| 73 | 76 | |
@@ -87,11 +90,13 @@ discard block |
||
| 87 | 90 | |
| 88 | 91 | /** |
| 89 | 92 | * @param OrderInterface $order |
| 93 | + * @return void |
|
| 90 | 94 | */ |
| 91 | 95 | public function completeOrderLastPayment(OrderInterface $order); |
| 92 | 96 | |
| 93 | 97 | /** |
| 94 | 98 | * @param OrderInterface $order |
| 99 | + * @return void |
|
| 95 | 100 | */ |
| 96 | 101 | public function refundOrderLastPayment(OrderInterface $order); |
| 97 | 102 | |
@@ -234,8 +239,14 @@ discard block |
||
| 234 | 239 | */ |
| 235 | 240 | public function getPaymentState(); |
| 236 | 241 | |
| 242 | + /** |
|
| 243 | + * @return void |
|
| 244 | + */ |
|
| 237 | 245 | public function cancelOrder(); |
| 238 | 246 | |
| 247 | + /** |
|
| 248 | + * @return void |
|
| 249 | + */ |
|
| 239 | 250 | public function deleteOrder(); |
| 240 | 251 | |
| 241 | 252 | /** |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Order; |
| 15 | 15 | |