@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -38,17 +38,20 @@ discard block |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param string $name |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function deleteTaxonOnPageByName($name); |
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param string $description |
46 | 47 | * @param string $languageCode |
48 | + * @return void |
|
47 | 49 | */ |
48 | 50 | public function describeItAs($description, $languageCode); |
49 | 51 | |
50 | 52 | /** |
51 | 53 | * @param TaxonInterface $taxon |
54 | + * @return void |
|
52 | 55 | */ |
53 | 56 | public function chooseParent(TaxonInterface $taxon); |
54 | 57 | |
@@ -62,33 +65,39 @@ discard block |
||
62 | 65 | /** |
63 | 66 | * @param string $name |
64 | 67 | * @param string $languageCode |
68 | + * @return void |
|
65 | 69 | */ |
66 | 70 | public function nameIt($name, $languageCode); |
67 | 71 | |
68 | 72 | /** |
69 | 73 | * @param string $code |
74 | + * @return void |
|
70 | 75 | */ |
71 | 76 | public function specifyCode($code); |
72 | 77 | |
73 | 78 | /** |
74 | 79 | * @param string $slug |
75 | 80 | * @param string $languageCode |
81 | + * @return void |
|
76 | 82 | */ |
77 | 83 | public function specifySlug($slug, $languageCode); |
78 | 84 | |
79 | 85 | /** |
80 | 86 | * @param string $path |
81 | 87 | * @param string $code |
88 | + * @return void |
|
82 | 89 | */ |
83 | 90 | public function attachImage($path, $code = null); |
84 | 91 | |
85 | 92 | /** |
86 | 93 | * @param TaxonInterface $taxon |
94 | + * @return void |
|
87 | 95 | */ |
88 | 96 | public function moveUp(TaxonInterface $taxon); |
89 | 97 | |
90 | 98 | /** |
91 | 99 | * @param TaxonInterface $taxon |
100 | + * @return void |
|
92 | 101 | */ |
93 | 102 | public function moveDown(TaxonInterface $taxon); |
94 | 103 | |
@@ -112,11 +121,13 @@ discard block |
||
112 | 121 | /** |
113 | 122 | * @param TaxonInterface $taxon |
114 | 123 | * @param int $expectedPosition |
124 | + * @return void |
|
115 | 125 | */ |
116 | 126 | public function waitForTaxonRelocation(TaxonInterface $taxon, $expectedPosition); |
117 | 127 | |
118 | 128 | /** |
119 | 129 | * @param string $locale |
130 | + * @return void |
|
120 | 131 | */ |
121 | 132 | public function activateLanguageTab($locale); |
122 | 133 | } |
@@ -23,11 +23,13 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param string $description |
25 | 25 | * @param string $languageCode |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function describeItAs($description, $languageCode); |
28 | 29 | |
29 | 30 | /** |
30 | 31 | * @param TaxonInterface $taxon |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function chooseParent(TaxonInterface $taxon); |
33 | 35 | |
@@ -39,12 +41,14 @@ discard block |
||
39 | 41 | /** |
40 | 42 | * @param string $name |
41 | 43 | * @param string $languageCode |
44 | + * @return void |
|
42 | 45 | */ |
43 | 46 | public function nameIt($name, $languageCode); |
44 | 47 | |
45 | 48 | /** |
46 | 49 | * @param string $slug |
47 | 50 | * @param string $languageCode |
51 | + * @return void |
|
48 | 52 | */ |
49 | 53 | public function specifySlug($slug, $languageCode); |
50 | 54 | |
@@ -56,6 +60,7 @@ discard block |
||
56 | 60 | /** |
57 | 61 | * @param string $path |
58 | 62 | * @param string $code |
63 | + * @return void |
|
59 | 64 | */ |
60 | 65 | public function attachImage($path, $code = null); |
61 | 66 | |
@@ -75,13 +80,18 @@ discard block |
||
75 | 80 | |
76 | 81 | /** |
77 | 82 | * @param string $code |
83 | + * @return void |
|
78 | 84 | */ |
79 | 85 | public function removeImageWithCode($code); |
80 | 86 | |
87 | + /** |
|
88 | + * @return void |
|
89 | + */ |
|
81 | 90 | public function removeFirstImage(); |
82 | 91 | |
83 | 92 | /** |
84 | 93 | * @param string $languageCode |
94 | + * @return void |
|
85 | 95 | */ |
86 | 96 | public function enableSlugModification($languageCode = 'en_US'); |
87 | 97 | |
@@ -93,6 +103,7 @@ discard block |
||
93 | 103 | /** |
94 | 104 | * @param string $code |
95 | 105 | * @param string $path |
106 | + * @return void |
|
96 | 107 | */ |
97 | 108 | public function changeImageWithCode($code, $path); |
98 | 109 | |
@@ -126,6 +137,7 @@ discard block |
||
126 | 137 | |
127 | 138 | /** |
128 | 139 | * @param string $locale |
140 | + * @return void |
|
129 | 141 | */ |
130 | 142 | public function activateLanguageTab($locale); |
131 | 143 | } |
@@ -20,8 +20,12 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $shippingMethod |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectShippingMethod($shippingMethod); |
25 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
26 | 30 | public function continueCheckout(); |
27 | 31 | } |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Page\Admin\Product; |
13 | 13 | |
14 | 14 | use Sylius\Behat\Page\Admin\Crud\IndexPageInterface as CrudIndexPageInterface; |
15 | -use Sylius\Component\Core\Model\ProductInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Anna Walasek <[email protected]> |
@@ -41,6 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @param null|TaxonInterface $taxon |
44 | + * @return void |
|
44 | 45 | */ |
45 | 46 | public function setParent(TaxonInterface $taxon = null); |
46 | 47 | |
@@ -63,11 +64,13 @@ discard block |
||
63 | 64 | |
64 | 65 | /** |
65 | 66 | * @param TaxonInterface $taxon |
67 | + * @return void |
|
66 | 68 | */ |
67 | 69 | public function addChild(TaxonInterface $taxon); |
68 | 70 | |
69 | 71 | /** |
70 | 72 | * @param TaxonInterface $taxon |
73 | + * @return void |
|
71 | 74 | */ |
72 | 75 | public function removeChild(TaxonInterface $taxon); |
73 | 76 | |
@@ -78,6 +81,7 @@ discard block |
||
78 | 81 | |
79 | 82 | /** |
80 | 83 | * @param string $name |
84 | + * @return void |
|
81 | 85 | */ |
82 | 86 | public function setName($name); |
83 | 87 | |
@@ -88,6 +92,7 @@ discard block |
||
88 | 92 | |
89 | 93 | /** |
90 | 94 | * @param string $permalink |
95 | + * @return void |
|
91 | 96 | */ |
92 | 97 | public function setPermalink($permalink); |
93 | 98 | |
@@ -98,6 +103,7 @@ discard block |
||
98 | 103 | |
99 | 104 | /** |
100 | 105 | * @param int $left |
106 | + * @return void |
|
101 | 107 | */ |
102 | 108 | public function setLeft($left); |
103 | 109 | |
@@ -108,6 +114,7 @@ discard block |
||
108 | 114 | |
109 | 115 | /** |
110 | 116 | * @param int $right |
117 | + * @return void |
|
111 | 118 | */ |
112 | 119 | public function setRight($right); |
113 | 120 | |
@@ -118,6 +125,7 @@ discard block |
||
118 | 125 | |
119 | 126 | /** |
120 | 127 | * @param int $level |
128 | + * @return void |
|
121 | 129 | */ |
122 | 130 | public function setLevel($level); |
123 | 131 | } |