@@ -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 | } |
@@ -25,15 +25,20 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function hasValidationErrorWith($message); |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 28 | 31 | public function logIn(); |
| 29 | 32 | |
| 30 | 33 | /** |
| 31 | 34 | * @param string $password |
| 35 | + * @return void |
|
| 32 | 36 | */ |
| 33 | 37 | public function specifyPassword($password); |
| 34 | 38 | |
| 35 | 39 | /** |
| 36 | 40 | * @param string $username |
| 41 | + * @return void |
|
| 37 | 42 | */ |
| 38 | 43 | public function specifyUsername($username); |
| 39 | 44 | } |
@@ -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 | { |
@@ -354,6 +354,7 @@ discard block |
||
| 354 | 354 | |
| 355 | 355 | /** |
| 356 | 356 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/ |
| 357 | + * @param integer $discount |
|
| 357 | 358 | */ |
| 358 | 359 | public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount) |
| 359 | 360 | { |
@@ -677,6 +678,7 @@ discard block |
||
| 677 | 678 | |
| 678 | 679 | /** |
| 679 | 680 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/ |
| 681 | + * @param integer $discount |
|
| 680 | 682 | */ |
| 681 | 683 | public function itGivesDiscountOnShippingToEveryOrderOver( |
| 682 | 684 | PromotionInterface $promotion, |
@@ -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 | } |
@@ -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 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface PasswordUpdaterInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function updatePassword(CredentialsHolderInterface $user): void; |
| 21 | 24 | } |