@@ -199,6 +199,7 @@ |
||
199 | 199 | |
200 | 200 | /** |
201 | 201 | * {@inheritdoc} |
202 | + * @param string $name |
|
202 | 203 | */ |
203 | 204 | protected function getElement($name, array $parameters = []) |
204 | 205 | { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Behat\Page\Admin\Promotion; |
13 | 13 | |
14 | -use Behat\Mink\Driver\Selenium2Driver; |
|
15 | 14 | use Behat\Mink\Element\NodeElement; |
16 | 15 | use Behat\Mink\Exception\ElementNotFoundException; |
17 | 16 | use Sylius\Behat\Behaviour\NamesIt; |
@@ -199,6 +199,7 @@ |
||
199 | 199 | |
200 | 200 | /** |
201 | 201 | * {@inheritdoc} |
202 | + * @param string $name |
|
202 | 203 | */ |
203 | 204 | protected function getElement($name, array $parameters = []) |
204 | 205 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @return callable |
|
70 | + * @return \Closure |
|
71 | 71 | */ |
72 | 72 | private function optionalCallableNormalizer() |
73 | 73 | { |
@@ -20,16 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $type |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function setType($type); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param array $configuration |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function setConfiguration(array $configuration); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param PromotionInterface $promotion |
35 | + * @return void |
|
33 | 36 | */ |
34 | 37 | public function setPromotion(PromotionInterface $promotion = null); |
35 | 38 | } |
@@ -20,16 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $type |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function setType($type); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param array $configuration |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function setConfiguration(array $configuration); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param PromotionInterface $promotion |
35 | + * @return void |
|
33 | 36 | */ |
34 | 37 | public function setPromotion(PromotionInterface $promotion = null); |
35 | 38 | } |
@@ -55,6 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @Then the :productVariantCode variant of the :product product should appear in the store |
58 | + * @param string $productVariantCode |
|
58 | 59 | */ |
59 | 60 | public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product) |
60 | 61 | { |
@@ -519,7 +519,7 @@ |
||
519 | 519 | |
520 | 520 | /** |
521 | 521 | * @param string $element |
522 | - * @param $message |
|
522 | + * @param string $message |
|
523 | 523 | */ |
524 | 524 | private function assertValidationMessage($element, $message) |
525 | 525 | { |