@@ -19,5 +19,8 @@ |
||
19 | 19 | { |
20 | 20 | public function isCodeDisabled(): bool; |
21 | 21 | |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function nameIt(string $name): void; |
23 | 26 | } |
@@ -24,20 +24,36 @@ discard block |
||
24 | 24 | |
25 | 25 | public function countTaxonsByName(string $name): int; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function deleteTaxonOnPageByName(string $name): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function describeItAs(string $description, string $languageCode): void; |
30 | 36 | |
31 | 37 | public function hasTaxonWithName(string $name): bool; |
32 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
33 | 42 | public function nameIt(string $name, string $languageCode): void; |
34 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
35 | 47 | public function specifyCode(string $code): void; |
36 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
37 | 52 | public function specifySlug(string $slug, string $languageCode): void; |
38 | 53 | |
39 | 54 | /** |
40 | 55 | * @param string $type |
56 | + * @return void |
|
41 | 57 | */ |
42 | 58 | public function attachImage(string $path, string $type = null): void; |
43 | 59 | |
@@ -48,5 +64,8 @@ discard block |
||
48 | 64 | */ |
49 | 65 | public function getLeaves(TaxonInterface $parentTaxon = null): array; |
50 | 66 | |
67 | + /** |
|
68 | + * @return void |
|
69 | + */ |
|
51 | 70 | public function activateLanguageTab(string $locale): void; |
52 | 71 | } |
@@ -260,6 +260,9 @@ |
||
260 | 260 | return $images->findAll('css', 'div[data-form-collection="item"]'); |
261 | 261 | } |
262 | 262 | |
263 | + /** |
|
264 | + * @return string |
|
265 | + */ |
|
263 | 266 | private function getImageElementByType(string $type): ?NodeElement |
264 | 267 | { |
265 | 268 | $images = $this->getElement('images'); |
@@ -19,18 +19,31 @@ discard block |
||
19 | 19 | |
20 | 20 | interface UpdatePageInterface extends BaseUpdatePageInterface |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function describeItAs(string $description, string $languageCode): void; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function chooseParent(TaxonInterface $taxon): void; |
25 | 31 | |
26 | 32 | public function isCodeDisabled(): bool; |
27 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
28 | 37 | public function nameIt(string $name, string $languageCode): void; |
29 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
30 | 42 | public function specifySlug(string $slug, string $languageCode): void; |
31 | 43 | |
32 | 44 | /** |
33 | 45 | * @param string $type |
46 | + * @return void |
|
34 | 47 | */ |
35 | 48 | public function attachImage(string $path, string $type = null): void; |
36 | 49 | |
@@ -38,16 +51,31 @@ discard block |
||
38 | 51 | |
39 | 52 | public function isSlugReadonly(string $languageCode = 'en_US'): bool; |
40 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
41 | 57 | public function removeImageWithType(string $type): void; |
42 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
43 | 62 | public function removeFirstImage(): void; |
44 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
45 | 67 | public function enableSlugModification(string $languageCode = 'en_US'): void; |
46 | 68 | |
47 | 69 | public function countImages(): int; |
48 | 70 | |
71 | + /** |
|
72 | + * @return void |
|
73 | + */ |
|
49 | 74 | public function changeImageWithType(string $type, string $path): void; |
50 | 75 | |
76 | + /** |
|
77 | + * @return void |
|
78 | + */ |
|
51 | 79 | public function modifyFirstImageType(string $type): void; |
52 | 80 | |
53 | 81 | public function getParent(): string; |
@@ -64,5 +92,8 @@ discard block |
||
64 | 92 | */ |
65 | 93 | public function getValidationMessageForImageAtPlace(int $place): string; |
66 | 94 | |
95 | + /** |
|
96 | + * @return void |
|
97 | + */ |
|
67 | 98 | public function activateLanguageTab(string $locale): void; |
68 | 99 | } |
@@ -17,17 +17,38 @@ |
||
17 | 17 | |
18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function specifyCode(string $code): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function nameIt(string $name): void; |
23 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
24 | 33 | public function specifyAmount(string $amount): void; |
25 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
26 | 38 | public function chooseZone(string $name): void; |
27 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
28 | 43 | public function chooseCategory(string $name): void; |
29 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
30 | 48 | public function chooseCalculator(string $name): void; |
31 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
32 | 53 | public function chooseIncludedInPrice(): void; |
33 | 54 | } |
@@ -19,5 +19,8 @@ |
||
19 | 19 | { |
20 | 20 | public function isCodeDisabled(): bool; |
21 | 21 | |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function removeZone(): void; |
23 | 26 | } |
@@ -17,19 +17,34 @@ |
||
17 | 17 | |
18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function addMember(): void; |
21 | 24 | |
22 | 25 | public function checkValidationMessageForMembers(string $message): bool; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function chooseMember(string $name): void; |
25 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
26 | 35 | public function selectScope(string $scope): void; |
27 | 36 | |
28 | 37 | public function hasType(string $type): bool; |
29 | 38 | |
30 | 39 | public function isTypeFieldDisabled(): bool; |
31 | 40 | |
41 | + /** |
|
42 | + * @return void |
|
43 | + */ |
|
32 | 44 | public function nameIt(string $name): void; |
33 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
34 | 49 | public function specifyCode(string $code): void; |
35 | 50 | } |
@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | |
19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function nameIt(string $name): void; |
22 | 25 | |
23 | 26 | public function countMembers(): int; |
@@ -28,5 +31,8 @@ discard block |
||
28 | 31 | |
29 | 32 | public function isCodeDisabled(): bool; |
30 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
31 | 37 | public function removeMember(ZoneMemberInterface $zoneMember): void; |
32 | 38 | } |
@@ -192,6 +192,9 @@ |
||
192 | 192 | } |
193 | 193 | } |
194 | 194 | |
195 | + /** |
|
196 | + * @return string |
|
197 | + */ |
|
195 | 198 | private function getImageElementByType(string $type): ?NodeElement |
196 | 199 | { |
197 | 200 | $images = $this->getElement('images'); |