Completed
Push — 1.5-lint-container ( 339259...ddb6cd )
by Kamil
05:28
created
Sylius/Component/Product/Model/ProductOptionValueTranslationInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface ProductOptionValueTranslationInterface extends ResourceInterface, TranslationInterface
20 20
 {
21
+    /**
22
+     * @return string
23
+     */
21 24
     public function getValue(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setValue(?string $value): void;
24 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductTranslationInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -19,19 +19,43 @@
 block discarded – undo
19 19
 
20 20
 interface ProductTranslationInterface extends SlugAwareInterface, ResourceInterface, TranslationInterface
21 21
 {
22
+    /**
23
+     * @return string
24
+     */
22 25
     public function getName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setName(?string $name): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getDescription(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setDescription(?string $description): void;
29 41
 
42
+    /**
43
+     * @return string
44
+     */
30 45
     public function getMetaKeywords(): ?string;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function setMetaKeywords(?string $metaKeywords): void;
33 51
 
52
+    /**
53
+     * @return string
54
+     */
34 55
     public function getMetaDescription(): ?string;
35 56
 
57
+    /**
58
+     * @return void
59
+     */
36 60
     public function setMetaDescription(?string $metaDescription): void;
37 61
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariantInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -26,8 +26,14 @@  discard block
 block discarded – undo
26 26
     CodeAwareInterface,
27 27
     TranslatableInterface
28 28
 {
29
+    /**
30
+     * @return string
31
+     */
29 32
     public function getName(): ?string;
30 33
 
34
+    /**
35
+     * @return void
36
+     */
31 37
     public function setName(?string $name): void;
32 38
 
33 39
     public function getDescriptor(): string;
@@ -37,21 +43,42 @@  discard block
 block discarded – undo
37 43
      */
38 44
     public function getOptionValues(): Collection;
39 45
 
46
+    /**
47
+     * @return void
48
+     */
40 49
     public function addOptionValue(ProductOptionValueInterface $optionValue): void;
41 50
 
51
+    /**
52
+     * @return void
53
+     */
42 54
     public function removeOptionValue(ProductOptionValueInterface $optionValue): void;
43 55
 
44 56
     public function hasOptionValue(ProductOptionValueInterface $optionValue): bool;
45 57
 
58
+    /**
59
+     * @return ProductInterface
60
+     */
46 61
     public function getProduct(): ?ProductInterface;
47 62
 
63
+    /**
64
+     * @return void
65
+     */
48 66
     public function setProduct(?ProductInterface $product): void;
49 67
 
68
+    /**
69
+     * @return integer
70
+     */
50 71
     public function getPosition(): ?int;
51 72
 
73
+    /**
74
+     * @param integer $position
75
+     *
76
+     * @return void
77
+     */
52 78
     public function setPosition(?int $position): void;
53 79
 
54 80
     /**
81
+     * @param string $locale
55 82
      * @return ProductVariantTranslationInterface
56 83
      */
57 84
     public function getTranslation(?string $locale = null): TranslationInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariantTranslationInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,5 +23,8 @@
 block discarded – undo
23 23
      */
24 24
     public function getName(): ?string;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function setName(?string $name): void;
27 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Action/PromotionActionCommandInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,5 +20,8 @@
 block discarded – undo
20 20
 {
21 21
     public function execute(PromotionSubjectInterface $subject, array $configuration, PromotionInterface $promotion): bool;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function revert(PromotionSubjectInterface $subject, array $configuration, PromotionInterface $promotion): void;
24 27
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Action/PromotionApplicatorInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface PromotionApplicatorInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function apply(PromotionSubjectInterface $subject, PromotionInterface $promotion): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function revert(PromotionSubjectInterface $subject, PromotionInterface $promotion): void;
24 30
 }
Please login to merge, or discard this patch.
Promotion/Generator/PromotionCouponGeneratorInstructionInterface.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -15,22 +15,44 @@
 block discarded – undo
15 15
 
16 16
 interface PromotionCouponGeneratorInstructionInterface
17 17
 {
18
+    /**
19
+     * @return integer
20
+     */
18 21
     public function getAmount(): ?int;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setAmount(?int $amount): void;
21 27
 
28
+    /**
29
+     * @return integer
30
+     */
22 31
     public function getCodeLength(): ?int;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function setCodeLength(?int $codeLength): void;
25 37
 
38
+    /**
39
+     * @return \DateTimeInterface
40
+     */
26 41
     public function getExpiresAt(): ?\DateTimeInterface;
27 42
 
28 43
     /**
29 44
      * @param \DateTimeInterface $expiresAt
45
+     * @return void
30 46
      */
31 47
     public function setExpiresAt(?\DateTimeInterface $expiresAt): void;
32 48
 
49
+    /**
50
+     * @return integer
51
+     */
33 52
     public function getUsageLimit(): ?int;
34 53
 
54
+    /**
55
+     * @return void
56
+     */
35 57
     public function setUsageLimit(int $usageLimit): void;
36 58
 }
Please login to merge, or discard this patch.
Sylius/Component/Promotion/Model/ConfigurablePromotionElementInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,9 +17,15 @@
 block discarded – undo
17 17
 
18 18
 interface ConfigurablePromotionElementInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return string
22
+     */
20 23
     public function getType(): ?string;
21 24
 
22 25
     public function getConfiguration(): array;
23 26
 
27
+    /**
28
+     * @return PromotionInterface
29
+     */
24 30
     public function getPromotion(): ?PromotionInterface;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionActionInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,9 +17,18 @@
 block discarded – undo
17 17
 
18 18
 interface PromotionActionInterface extends ResourceInterface, ConfigurablePromotionElementInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setType(?string $type): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setConfiguration(array $configuration): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function setPromotion(?PromotionInterface $promotion): void;
25 34
 }
Please login to merge, or discard this patch.