Completed
Push — 1.0-narrow-typehints ( 369cb6 )
by Kamil
24:19
created
src/Sylius/Component/Product/Model/ProductInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param string|null $name
45
+     * @return void
45 46
      */
46 47
     public function setName(?string $name): void;
47 48
 
@@ -52,6 +53,7 @@  discard block
 block discarded – undo
52 53
 
53 54
     /**
54 55
      * @param string|null $description
56
+     * @return void
55 57
      */
56 58
     public function setDescription(?string $description): void;
57 59
 
@@ -62,6 +64,7 @@  discard block
 block discarded – undo
62 64
 
63 65
     /**
64 66
      * @param string|null $metaKeywords
67
+     * @return void
65 68
      */
66 69
     public function setMetaKeywords(?string $metaKeywords): void;
67 70
 
@@ -72,6 +75,7 @@  discard block
 block discarded – undo
72 75
 
73 76
     /**
74 77
      * @param string|null $metaDescription
78
+     * @return void
75 79
      */
76 80
     public function setMetaDescription(?string $metaDescription): void;
77 81
 
@@ -87,11 +91,13 @@  discard block
 block discarded – undo
87 91
 
88 92
     /**
89 93
      * @param ProductVariantInterface $variant
94
+     * @return void
90 95
      */
91 96
     public function addVariant(ProductVariantInterface $variant): void;
92 97
 
93 98
     /**
94 99
      * @param ProductVariantInterface $variant
100
+     * @return void
95 101
      */
96 102
     public function removeVariant(ProductVariantInterface $variant): void;
97 103
 
@@ -114,11 +120,13 @@  discard block
 block discarded – undo
114 120
 
115 121
     /**
116 122
      * @param ProductOptionInterface $option
123
+     * @return void
117 124
      */
118 125
     public function addOption(ProductOptionInterface $option): void;
119 126
 
120 127
     /**
121 128
      * @param ProductOptionInterface $option
129
+     * @return void
122 130
      */
123 131
     public function removeOption(ProductOptionInterface $option): void;
124 132
 
@@ -136,11 +144,13 @@  discard block
 block discarded – undo
136 144
 
137 145
     /**
138 146
      * @param ProductAssociationInterface $association
147
+     * @return void
139 148
      */
140 149
     public function addAssociation(ProductAssociationInterface $association): void;
141 150
 
142 151
     /**
143 152
      * @param ProductAssociationInterface $association
153
+     * @return void
144 154
      */
145 155
     public function removeAssociation(ProductAssociationInterface $association): void;
146 156
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValueInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ProductOptionInterface $option
32
+     * @return void
32 33
      */
33 34
     public function setOption(?ProductOptionInterface $option): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $value
43
+     * @return void
42 44
      */
43 45
     public function setValue(?string $value): void;
44 46
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param string|null $variantSelectionMethod
51 51
      *
52 52
      * @throws \InvalidArgumentException
53
+     * @return void
53 54
      */
54 55
     public function setVariantSelectionMethod(?string $variantSelectionMethod): void;
55 56
 
@@ -70,6 +71,7 @@  discard block
 block discarded – undo
70 71
 
71 72
     /**
72 73
      * @param string|null $shortDescription
74
+     * @return void
73 75
      */
74 76
     public function setShortDescription(?string $shortDescription): void;
75 77
 
@@ -80,6 +82,7 @@  discard block
 block discarded – undo
80 82
 
81 83
     /**
82 84
      * @param TaxonInterface|null $mainTaxon
85
+     * @return void
83 86
      */
84 87
     public function setMainTaxon(?TaxonInterface $mainTaxon): void;
85 88
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $name
38
+     * @return void
38 39
      */
39 40
     public function setName(?string $name): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param int $position
49
+     * @return void
48 50
      */
49 51
     public function setPosition(?int $position): void;
50 52
 
@@ -55,11 +57,13 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param ProductOptionValueInterface $optionValue
60
+     * @return void
58 61
      */
59 62
     public function addValue(ProductOptionValueInterface $optionValue): void;
60 63
 
61 64
     /**
62 65
      * @param ProductOptionValueInterface $optionValue
66
+     * @return void
63 67
      */
64 68
     public function removeValue(ProductOptionValueInterface $optionValue): void;
65 69
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param string|null $name
40
+     * @return void
40 41
      */
41 42
     public function setName(?string $name): void;
42 43
 
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
 
48 49
     /**
49 50
      * @param string|null $type
51
+     * @return void
50 52
      */
51 53
     public function setType(?string $type): void;
52 54
 
@@ -57,6 +59,7 @@  discard block
 block discarded – undo
57 59
 
58 60
     /**
59 61
      * @param array $configuration
62
+     * @return void
60 63
      */
61 64
     public function setConfiguration(array $configuration): void;
62 65
 
@@ -67,6 +70,7 @@  discard block
 block discarded – undo
67 70
 
68 71
     /**
69 72
      * @param string $storageType
73
+     * @return void
70 74
      */
71 75
     public function setStorageType(string $storageType): void;
72 76
 
@@ -77,6 +81,7 @@  discard block
 block discarded – undo
77 81
 
78 82
     /**
79 83
      * @param int|null $position
84
+     * @return void
80 85
      */
81 86
     public function setPosition(?int $position): void;
82 87
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,16 +35,19 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param AddressInterface|null $defaultAddress
38
+     * @return void
38 39
      */
39 40
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
40 41
 
41 42
     /**
42 43
      * @param AddressInterface $address
44
+     * @return void
43 45
      */
44 46
     public function addAddress(AddressInterface $address): void;
45 47
 
46 48
     /**
47 49
      * @param AddressInterface $address
50
+     * @return void
48 51
      */
49 52
     public function removeAddress(AddressInterface $address): void;
50 53
 
@@ -72,6 +75,7 @@  discard block
 block discarded – undo
72 75
 
73 76
     /**
74 77
      * @param ShopUserInterface|UserInterface|null $user
78
+     * @return void
75 79
      */
76 80
     public function setUser(?UserInterface $user);
77 81
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -32,31 +32,37 @@  discard block
 block discarded – undo
32 32
 {
33 33
     /**
34 34
      * {@inheritdoc}
35
+     * @return string|null
35 36
      */
36 37
     public function getName(): ?string;
37 38
 
38 39
     /**
39 40
      * {@inheritdoc}
41
+     * @return void
40 42
      */
41 43
     public function setName(?string $name): void;
42 44
 
43 45
     /**
44 46
      * {@inheritdoc}
47
+     * @return string|null
45 48
      */
46 49
     public function getDescription(): ?string;
47 50
 
48 51
     /**
49 52
      * {@inheritdoc}
53
+     * @return void
50 54
      */
51 55
     public function setDescription(?string $description): void;
52 56
 
53 57
     /**
54 58
      * {@inheritdoc}
59
+     * @return string|null
55 60
      */
56 61
     public function getInstructions(): ?string;
57 62
 
58 63
     /**
59 64
      * {@inheritdoc}
65
+     * @return void
60 66
      */
61 67
     public function setInstructions(?string $instructions): void;
62 68
 
@@ -67,6 +73,7 @@  discard block
 block discarded – undo
67 73
 
68 74
     /**
69 75
      * @param string|null $environment
76
+     * @return void
70 77
      */
71 78
     public function setEnvironment(?string $environment): void;
72 79
 
@@ -77,6 +84,7 @@  discard block
 block discarded – undo
77 84
 
78 85
     /**
79 86
      * @param int|null $position
87
+     * @return void
80 88
      */
81 89
     public function setPosition(?int $position): void;
82 90
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductAssociationTypeInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param string|null $name
39
+     * @return void
39 40
      */
40 41
     public function setName(?string $name): void;
41 42
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariantInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param string|null $name
39
+     * @return void
39 40
      */
40 41
     public function setName(?string $name): void;
41 42
 
@@ -51,11 +52,13 @@  discard block
 block discarded – undo
51 52
 
52 53
     /**
53 54
      * @param ProductOptionValueInterface $optionValue
55
+     * @return void
54 56
      */
55 57
     public function addOptionValue(ProductOptionValueInterface $optionValue): void;
56 58
 
57 59
     /**
58 60
      * @param ProductOptionValueInterface $optionValue
61
+     * @return void
59 62
      */
60 63
     public function removeOptionValue(ProductOptionValueInterface $optionValue): void;
61 64
 
@@ -73,6 +76,7 @@  discard block
 block discarded – undo
73 76
 
74 77
     /**
75 78
      * @param ProductInterface|null $product
79
+     * @return void
76 80
      */
77 81
     public function setProduct(?ProductInterface $product): void;
78 82
 
@@ -83,6 +87,7 @@  discard block
 block discarded – undo
83 87
 
84 88
     /**
85 89
      * @param int|null $position
90
+     * @return void
86 91
      */
87 92
     public function setPosition(?int $position): void;
88 93
 
Please login to merge, or discard this patch.