Completed
Push — docs-unified-api-section ( 191e4f...d674e9 )
by Kamil
10:53 queued 04:48
created
src/Sylius/Component/Core/Model/ChannelPricingInterface.php 1 patch
Doc Comments   +23 added lines patch added patch discarded remove patch
@@ -17,12 +17,24 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ChannelPricingInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return ProductVariantInterface|null
22
+     */
20 23
     public function getProductVariant(): ?ProductVariantInterface;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProductVariant(?ProductVariantInterface $productVariant): void;
23 29
 
30
+    /**
31
+     * @return integer|null
32
+     */
24 33
     public function getPrice(): ?int;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setPrice(?int $price): void;
27 39
 
28 40
     /**
@@ -30,10 +42,21 @@  discard block
 block discarded – undo
30 42
      */
31 43
     public function getChannelCode(): ?string;
32 44
 
45
+    /**
46
+     * @return void
47
+     */
33 48
     public function setChannelCode(?string $channelCode): void;
34 49
 
50
+    /**
51
+     * @return integer|null
52
+     */
35 53
     public function getOriginalPrice(): ?int;
36 54
 
55
+    /**
56
+     * @param integer $originalPrice
57
+     *
58
+     * @return void
59
+     */
37 60
     public function setOriginalPrice(?int $originalPrice): void;
38 61
 
39 62
     public function isPriceReduced(): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -22,16 +22,33 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function getType(): ?string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setType(?string $type): void;
26 29
 
30
+    /**
31
+     * @return \SplFileInfo|null
32
+     */
27 33
     public function getFile(): ?\SplFileInfo;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function setFile(?\SplFileInfo $file): void;
30 39
 
31 40
     public function hasFile(): bool;
32 41
 
42
+    /**
43
+     * @return string|null
44
+     */
33 45
     public function getPath(): ?string;
34 46
 
47
+    /**
48
+     * @param string $path
49
+     *
50
+     * @return void
51
+     */
35 52
     public function setPath(?string $path): void;
36 53
 
37 54
     /**
@@ -41,6 +58,7 @@  discard block
 block discarded – undo
41 58
 
42 59
     /**
43 60
      * @param object|null $owner
61
+     * @return void
44 62
      */
45 63
     public function setOwner($owner): void;
46 64
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductTaxonInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,15 +17,33 @@
 block discarded – undo
17 17
 
18 18
 interface ProductTaxonInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return ProductInterface|null
22
+     */
20 23
     public function getProduct(): ?ProductInterface;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProduct(?ProductInterface $product): void;
23 29
 
30
+    /**
31
+     * @return TaxonInterface|null
32
+     */
24 33
     public function getTaxon(): ?TaxonInterface;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setTaxon(?TaxonInterface $taxon): void;
27 39
 
40
+    /**
41
+     * @return integer|null
42
+     */
28 43
     public function getPosition(): ?int;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setPosition(?int $position): void;
31 49
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerGroupInterface.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 CustomerGroupInterface extends ResourceInterface, CodeAwareInterface
20 20
 {
21
+    /**
22
+     * @return string|null
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodTranslationInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -18,15 +18,33 @@
 block discarded – undo
18 18
 
19 19
 interface PaymentMethodTranslationInterface extends ResourceInterface, TranslationInterface
20 20
 {
21
+    /**
22
+     * @return string|null
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 
31
+    /**
32
+     * @return string|null
33
+     */
25 34
     public function getDescription(): ?string;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function setDescription(?string $description): void;
28 40
 
41
+    /**
42
+     * @return string|null
43
+     */
29 44
     public function getInstructions(): ?string;
30 45
 
46
+    /**
47
+     * @return void
48
+     */
31 49
     public function setInstructions(?string $instructions): void;
32 50
 }
Please login to merge, or discard this patch.
Component/Product/Model/ProductAssociationTypeTranslationInterface.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 ProductAssociationTypeTranslationInterface extends ResourceInterface, TranslationInterface
20 20
 {
21
+    /**
22
+     * @return string|null
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 }
Please login to merge, or discard this patch.
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|null
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|null
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|null
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|null
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|null
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.
Promotion/Generator/PromotionCouponGeneratorInstructionInterface.php 1 patch
Doc Comments   +34 added lines patch added patch discarded remove patch
@@ -15,30 +15,64 @@
 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 string|null
30
+     */
22 31
     public function getPrefix(): ?string;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function setPrefix(?string $prefix): void;
25 37
 
38
+    /**
39
+     * @return integer
40
+     */
26 41
     public function getCodeLength(): ?int;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function setCodeLength(?int $codeLength): void;
29 47
 
48
+    /**
49
+     * @return string|null
50
+     */
30 51
     public function getSuffix(): ?string;
31 52
 
53
+    /**
54
+     * @return void
55
+     */
32 56
     public function setSuffix(?string $suffix): void;
33 57
 
58
+    /**
59
+     * @return \DateTimeInterface|null
60
+     */
34 61
     public function getExpiresAt(): ?\DateTimeInterface;
35 62
 
36 63
     /**
37 64
      * @param \DateTimeInterface $expiresAt
65
+     * @return void
38 66
      */
39 67
     public function setExpiresAt(?\DateTimeInterface $expiresAt): void;
40 68
 
69
+    /**
70
+     * @return integer|null
71
+     */
41 72
     public function getUsageLimit(): ?int;
42 73
 
74
+    /**
75
+     * @return void
76
+     */
43 77
     public function setUsageLimit(int $usageLimit): void;
44 78
 }
Please login to merge, or discard this patch.