Completed
Push — docs-unified-api-section ( 191e4f...d674e9 )
by Kamil
10:53 queued 04:48
created
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.
src/Sylius/Component/Order/Model/OrderAwareInterface.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 getOrder(): ?OrderInterface;
19 19
 
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setOrder(?OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentUnitInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 {
21 21
     public function getShipment(): ?ShipmentInterface;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function setShipment(?ShipmentInterface $shipment): void;
24 27
 
25 28
     public function getShippable(): ?ShippableInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/UpdatePageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,16 +17,34 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function attachAvatar(string $path): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function changeUsername(string $username): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function changeEmail(string $email): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function changePassword(string $password): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function changeLocale(string $localeCode): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function removeAvatar(): void;
31 49
 
32 50
     public function hasAvatar(string $avatarPath): bool;
Please login to merge, or discard this patch.