Completed
Push — docs-unified-api-section ( 191e4f...d674e9 )
by Kamil
10:53 queued 04:48
created
Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPageInterface.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public function isCodeDisabled(): bool;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function nameItIn(string $name, string $localeCode): void;
24 27
 
25 28
     public function isProductOptionChosen(string $option): bool;
@@ -28,31 +31,59 @@  discard block
 block discarded – undo
28 31
 
29 32
     public function isMainTaxonChosen(string $taxonName): bool;
30 33
 
34
+    /**
35
+     * @return void
36
+     */
31 37
     public function selectMainTaxon(TaxonInterface $taxon): void;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function checkChannel(string $channelName): void;
34 43
 
35 44
     public function isImageWithTypeDisplayed(string $type): bool;
36 45
 
37 46
     /**
38 47
      * @param string $type
48
+     * @return void
39 49
      */
40 50
     public function attachImage(string $path, string $type = null): void;
41 51
 
52
+    /**
53
+     * @return void
54
+     */
42 55
     public function changeImageWithType(string $type, string $path): void;
43 56
 
57
+    /**
58
+     * @return void
59
+     */
44 60
     public function removeImageWithType(string $type): void;
45 61
 
62
+    /**
63
+     * @return void
64
+     */
46 65
     public function removeFirstImage(): void;
47 66
 
67
+    /**
68
+     * @return void
69
+     */
48 70
     public function modifyFirstImageType(string $type): void;
49 71
 
50 72
     public function countImages(): int;
51 73
 
74
+    /**
75
+     * @return void
76
+     */
52 77
     public function goToVariantsList(): void;
53 78
 
79
+    /**
80
+     * @return void
81
+     */
54 82
     public function goToVariantCreation(): void;
55 83
 
84
+    /**
85
+     * @return void
86
+     */
56 87
     public function goToVariantGeneration(): void;
57 88
 
58 89
     public function hasInventoryTab(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function hasProductsInOrder(array $productNames): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setPositionOfProduct(string $productName, string $position): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function savePositions(): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/AdminUserInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -19,19 +19,45 @@
 block discarded – undo
19 19
 {
20 20
     public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS';
21 21
 
22
+    /**
23
+     * @return string
24
+     */
22 25
     public function getFirstName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setFirstName(?string $firstName): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getLastName(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setLastName(?string $lastName): void;
29 41
 
42
+    /**
43
+     * @return string
44
+     */
30 45
     public function getLocaleCode(): ?string;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function setLocaleCode(?string $code): void;
33 51
 
52
+    /**
53
+     * @return ImageInterface
54
+     */
34 55
     public function getAvatar(): ?ImageInterface;
35 56
 
57
+    /**
58
+     * @param AvatarImage $avatar
59
+     *
60
+     * @return void
61
+     */
36 62
     public function setAvatar(?ImageInterface $avatar);
37 63
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/CreatePageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @throws ElementNotFoundException
28
+     * @return void
28 29
      */
29 30
     public function create(): void;
30 31
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
      */
29 29
     public function hasResourceValues(array $parameters): bool;
30 30
 
31
+    /**
32
+     * @return void
33
+     */
31 34
     public function saveChanges(): void;
32 35
 
33 36
     public function getMessageInvalidForm(): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return \Generator
22
+     */
20 23
     public function getCouponCodes(): iterable;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,13 +31,22 @@
 block discarded – undo
31 31
         ?string $baseLocaleCode = null
32 32
     ): Collection;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addAttribute(AttributeValueInterface $attribute): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeAttribute(AttributeValueInterface $attribute): void;
37 43
 
38 44
     public function hasAttribute(AttributeValueInterface $attribute): bool;
39 45
 
40 46
     public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool;
41 47
 
48
+    /**
49
+     * @param string $localeCode
50
+     */
42 51
     public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface;
43 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerAwareInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 {
18 18
     public function getCustomer(): ?CustomerInterface;
19 19
 
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setCustomer(?CustomerInterface $customer): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/AdjustmentInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -18,30 +18,60 @@  discard block
 block discarded – undo
18 18
 
19 19
 interface AdjustmentInterface extends ResourceInterface, TimestampableInterface
20 20
 {
21
+    /**
22
+     * @return OrderItemUnitInterface|null
23
+     */
21 24
     public function getAdjustable(): ?AdjustableInterface;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setAdjustable(?AdjustableInterface $adjustable): void;
24 30
 
31
+    /**
32
+     * @return string|null
33
+     */
25 34
     public function getType(): ?string;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function setType(?string $type): void;
28 40
 
41
+    /**
42
+     * @return string|null
43
+     */
29 44
     public function getLabel(): ?string;
30 45
 
46
+    /**
47
+     * @return void
48
+     */
31 49
     public function setLabel(?string $label): void;
32 50
 
33 51
     public function getAmount(): int;
34 52
 
53
+    /**
54
+     * @return void
55
+     */
35 56
     public function setAmount(int $amount): void;
36 57
 
37 58
     public function isNeutral(): bool;
38 59
 
60
+    /**
61
+     * @return void
62
+     */
39 63
     public function setNeutral(bool $neutral): void;
40 64
 
41 65
     public function isLocked(): bool;
42 66
 
67
+    /**
68
+     * @return void
69
+     */
43 70
     public function lock(): void;
44 71
 
72
+    /**
73
+     * @return void
74
+     */
45 75
     public function unlock(): void;
46 76
 
47 77
     /**
@@ -54,7 +84,13 @@  discard block
 block discarded – undo
54 84
      */
55 85
     public function isCredit(): bool;
56 86
 
87
+    /**
88
+     * @return string|null
89
+     */
57 90
     public function getOriginCode(): ?string;
58 91
 
92
+    /**
93
+     * @return void
94
+     */
59 95
     public function setOriginCode(?string $originCode): void;
60 96
 }
Please login to merge, or discard this patch.