@@ -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 | } |
@@ -127,6 +127,7 @@ discard block |
||
| 127 | 127 | * @Given the store has a tax category :name with a code :code |
| 128 | 128 | * @Given the store has a tax category :name |
| 129 | 129 | * @Given the store has a tax category :name also |
| 130 | + * @param string $name |
|
| 130 | 131 | */ |
| 131 | 132 | public function theStoreHasTaxCategoryWithCode($name, $code = null) |
| 132 | 133 | { |
@@ -213,7 +214,7 @@ discard block |
||
| 213 | 214 | /** |
| 214 | 215 | * @param string $taxRateAmount |
| 215 | 216 | * |
| 216 | - * @return string |
|
| 217 | + * @return integer |
|
| 217 | 218 | */ |
| 218 | 219 | private function getAmountFromString($taxRateAmount) |
| 219 | 220 | { |