Completed
Push — master ( bcb54c...8151ca )
by Kamil
05:51 queued 19s
created
src/Sylius/Component/Core/Model/ImageAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,7 +15,13 @@
 block discarded – undo
15 15
 
16 16
 interface ImageAwareInterface
17 17
 {
18
+    /**
19
+     * @return ImageInterface
20
+     */
18 21
     public function getImage(): ?ImageInterface;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setImage(?ImageInterface $image): void;
21 27
 }
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/GeneratePageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -23,17 +23,38 @@
 block discarded – undo
23 23
 
24 24
     public function checkGenerationValidation(string $message): bool;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function generate(): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function specifyAmount(string $amount): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function specifyCodeLength(string $codeLength): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function setExpiresAt(\DateTimeInterface $date): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setUsageLimit(int $limit): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function specifyPrefix(string $prefix): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function specifySuffix(string $suffix): void;
39 60
 }
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.