| @@ -19,6 +19,7 @@ | ||
| 19 | 19 | /** | 
| 20 | 20 | * @param string $name | 
| 21 | 21 | * @param string $value | 
| 22 | + * @return void | |
| 22 | 23 | */ | 
| 23 | 24 | public function setCookie($name, $value); | 
| 24 | 25 | } | 
| @@ -151,6 +151,9 @@ | ||
| 151 | 151 | $this->validate($address, $constraint); | 
| 152 | 152 | } | 
| 153 | 153 | |
| 154 | + /** | |
| 155 | + * @param string $propertyPath | |
| 156 | + */ | |
| 154 | 157 | private function createViolation($propertyPath) | 
| 155 | 158 |      { | 
| 156 | 159 |          return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue'); | 
| @@ -35,8 +35,12 @@ | ||
| 35 | 35 | |
| 36 | 36 | /** | 
| 37 | 37 | * @param string $serviceId | 
| 38 | + * @return void | |
| 38 | 39 | */ | 
| 39 | 40 | public function unmockService($serviceId); | 
| 40 | 41 | |
| 42 | + /** | |
| 43 | + * @return void | |
| 44 | + */ | |
| 41 | 45 | public function unmockAll(); | 
| 42 | 46 | } | 
| @@ -130,6 +130,8 @@ | ||
| 130 | 130 | /** | 
| 131 | 131 | * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment | 
| 132 | 132 | * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment | 
| 133 | + * @param string $shippingMethodName | |
| 134 | + * @param string $paymentMethodName | |
| 133 | 135 | */ | 
| 134 | 136 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName) | 
| 135 | 137 |      { | 
| @@ -27,6 +27,7 @@ | ||
| 27 | 27 | |
| 28 | 28 | /** | 
| 29 | 29 | * @param string $name | 
| 30 | + * @return void | |
| 30 | 31 | */ | 
| 31 | 32 | public function setName(?string $name): void; | 
| 32 | 33 | } | 
| @@ -6,11 +6,20 @@ | ||
| 6 | 6 | |
| 7 | 7 | interface ResolveNextRouteInterface | 
| 8 | 8 |  { | 
| 9 | + /** | |
| 10 | + * @return string | |
| 11 | + */ | |
| 9 | 12 | public function getRouteName(): ?string; | 
| 10 | 13 | |
| 14 | + /** | |
| 15 | + * @return void | |
| 16 | + */ | |
| 11 | 17 | public function setRouteName(string $routeName): void; | 
| 12 | 18 | |
| 13 | 19 | public function getRouteParameters(): array; | 
| 14 | 20 | |
| 21 | + /** | |
| 22 | + * @return void | |
| 23 | + */ | |
| 15 | 24 | public function setRouteParameters(array $parameters): void; | 
| 16 | 25 | } | 
| @@ -46,8 +46,8 @@ | ||
| 46 | 46 | StateMachineInterface $secondOrderStateMachine | 
| 47 | 47 |      ): void { | 
| 48 | 48 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([ | 
| 49 | - $firstOrder, | |
| 50 | - $secondOrder, | |
| 49 | + $firstOrder, | |
| 50 | + $secondOrder, | |
| 51 | 51 | ]); | 
| 52 | 52 | |
| 53 | 53 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); | 
| @@ -15,5 +15,8 @@ | ||
| 15 | 15 | |
| 16 | 16 | interface UnpaidOrdersStateUpdaterInterface | 
| 17 | 17 |  { | 
| 18 | + /** | |
| 19 | + * @return void | |
| 20 | + */ | |
| 18 | 21 | public function cancel(): void; | 
| 19 | 22 | } | 
| @@ -15,5 +15,8 @@ | ||
| 15 | 15 | |
| 16 | 16 | interface ExpiredCartsRemoverInterface | 
| 17 | 17 |  { | 
| 18 | + /** | |
| 19 | + * @return void | |
| 20 | + */ | |
| 18 | 21 | public function remove(): void; | 
| 19 | 22 | } |