@@ -18,28 +18,39 @@ |
||
18 | 18 | */ |
19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function enable(); |
25 | + |
|
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
22 | 29 | public function disable(); |
23 | 30 | |
24 | 31 | /** |
25 | 32 | * @param string $name |
26 | 33 | * @param string $languageCode |
34 | + * @return void |
|
27 | 35 | */ |
28 | 36 | public function nameIt($name, $languageCode); |
29 | 37 | |
30 | 38 | /** |
31 | 39 | * @param string $code |
40 | + * @return void |
|
32 | 41 | */ |
33 | 42 | public function specifyCode($code); |
34 | 43 | |
35 | 44 | /** |
36 | 45 | * @param string $gateway |
46 | + * @return void |
|
37 | 47 | */ |
38 | 48 | public function chooseGateway($gateway); |
39 | 49 | |
40 | 50 | /** |
41 | 51 | * @param string $description |
42 | 52 | * @param string $languageCode |
53 | + * @return void |
|
43 | 54 | */ |
44 | 55 | public function describeIt($description, $languageCode); |
45 | 56 |
@@ -18,11 +18,19 @@ discard block |
||
18 | 18 | */ |
19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function enable(); |
25 | + |
|
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
22 | 29 | public function disable(); |
23 | 30 | |
24 | 31 | /** |
25 | 32 | * @param string $gateway |
33 | + * @return void |
|
26 | 34 | */ |
27 | 35 | public function chooseGateway($gateway); |
28 | 36 | |
@@ -39,6 +47,7 @@ discard block |
||
39 | 47 | /** |
40 | 48 | * @param string $name |
41 | 49 | * @param string $languageCode |
50 | + * @return void |
|
42 | 51 | */ |
43 | 52 | public function nameIt($name, $languageCode); |
44 | 53 | } |
@@ -20,17 +20,20 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $optionName |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectOption($optionName); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $code |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function specifyCode($code); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param string $name |
33 | 35 | * @param string $localeCode |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function nameItIn($name, $localeCode); |
36 | 39 | } |
@@ -20,28 +20,33 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param int $price |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function specifyPrice($price); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $code |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function specifyCode($code); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param string $name |
33 | 35 | * @param string $localeCode |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function nameItIn($name, $localeCode); |
36 | 39 | |
37 | 40 | /** |
38 | 41 | * @param string $attribute |
39 | 42 | * @param string $value |
43 | + * @return void |
|
40 | 44 | */ |
41 | 45 | public function addAttribute($attribute, $value); |
42 | 46 | |
43 | 47 | /** |
44 | 48 | * @param string $attribute |
49 | + * @return void |
|
45 | 50 | */ |
46 | 51 | public function removeAttribute($attribute); |
47 | 52 | } |
@@ -15,8 +15,6 @@ |
||
15 | 15 | use Sylius\Behat\Behaviour\ChecksCodeImmutability; |
16 | 16 | use Sylius\Behat\Page\Admin\Crud\UpdatePage as BaseUpdatePage; |
17 | 17 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
18 | -use Symfony\Component\HttpFoundation\File\File; |
|
19 | -use Symfony\Component\Templating\Tests\Storage\FileStorageTest; |
|
20 | 18 | use Webmozart\Assert\Assert; |
21 | 19 | |
22 | 20 | /** |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * @param string $name |
29 | 29 | * @param string $localeCode |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function nameItIn($name, $localeCode); |
32 | 33 | |
@@ -49,6 +50,7 @@ discard block |
||
49 | 50 | |
50 | 51 | /** |
51 | 52 | * @param TaxonInterface $taxon |
53 | + * @return void |
|
52 | 54 | */ |
53 | 55 | public function selectMainTaxon(TaxonInterface $taxon); |
54 | 56 | } |
@@ -26,12 +26,14 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param int $price |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function specifyPrice($price); |
31 | 32 | |
32 | 33 | /** |
33 | 34 | * @param string $name |
34 | 35 | * @param string $localeCode |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function nameItIn($name, $localeCode); |
37 | 39 | |
@@ -58,6 +60,7 @@ discard block |
||
58 | 60 | |
59 | 61 | /** |
60 | 62 | * @param TaxonInterface $taxon |
63 | + * @return void |
|
61 | 64 | */ |
62 | 65 | public function selectMainTaxon(TaxonInterface $taxon); |
63 | 66 | } |
@@ -20,12 +20,14 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $code |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function specifyCode($code); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $name |
28 | 29 | * @param string $language |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function nameIt($name, $language); |
31 | 33 |
@@ -21,6 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param string $name |
23 | 23 | * @param string $language |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function changeName($name, $language); |
26 | 27 |