Completed
Push — _temp_alekseyp--patch-1--1.3 ( 1a1e31 )
by Kamil
109:28 queued 89:14
created
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -25,12 +25,26 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getOrders(): Collection;
27 27
 
28
+    /**
29
+     * @return AddressInterface
30
+     */
28 31
     public function getDefaultAddress(): ?AddressInterface;
29 32
 
33
+    /**
34
+     * @param AddressInterface $defaultAddress
35
+     *
36
+     * @return void
37
+     */
30 38
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
31 39
 
40
+    /**
41
+     * @return void
42
+     */
32 43
     public function addAddress(AddressInterface $address): void;
33 44
 
45
+    /**
46
+     * @return void
47
+     */
34 48
     public function removeAddress(AddressInterface $address): void;
35 49
 
36 50
     public function hasAddress(AddressInterface $address): bool;
@@ -49,6 +63,7 @@  discard block
 block discarded – undo
49 63
 
50 64
     /**
51 65
      * @param ShopUserInterface|UserInterface|null $user
66
+     * @return void
52 67
      */
53 68
     public function setUser(?UserInterface $user);
54 69
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImagesAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -31,7 +31,13 @@
 block discarded – undo
31 31
 
32 32
     public function hasImage(ImageInterface $image): bool;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addImage(ImageInterface $image): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeImage(ImageInterface $image): void;
37 43
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItemInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -19,16 +19,32 @@
 block discarded – undo
19 19
 {
20 20
     public function getProduct(): ?ProductInterface;
21 21
 
22
+    /**
23
+     * @return ProductVariantInterface
24
+     */
22 25
     public function getVariant(): ?ProductVariantInterface;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setVariant(?ProductVariantInterface $variant): void;
25 31
 
26 32
     public function getProductName(): ?string;
27 33
 
34
+    /**
35
+     * @param string $productName
36
+     *
37
+     * @return void
38
+     */
28 39
     public function setProductName(?string $productName): void;
29 40
 
30 41
     public function getVariantName(): ?string;
31 42
 
43
+    /**
44
+     * @param string $variantName
45
+     *
46
+     * @return void
47
+     */
32 48
     public function setVariantName(?string $variantName): void;
33 49
 
34 50
     public function getTaxTotal(): int;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductImageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,8 +24,14 @@
 block discarded – undo
24 24
      */
25 25
     public function getProductVariants(): Collection;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function addProductVariant(ProductVariantInterface $productVariant): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function removeProductVariant(ProductVariantInterface $productVariant): void;
30 36
 
31 37
     public function hasProductVariant(ProductVariantInterface $productVariant): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductImagesAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -31,7 +31,13 @@
 block discarded – undo
31 31
 
32 32
     public function hasImage(ProductImageInterface $image): bool;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addImage(ProductImageInterface $image): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeImage(ProductImageInterface $image): void;
37 43
 }
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
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
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
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/Core/Model/ProductTaxonsAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,8 +24,14 @@
 block discarded – undo
24 24
 
25 25
     public function hasProductTaxon(ProductTaxonInterface $productTaxon): bool;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function addProductTaxon(ProductTaxonInterface $productTaxon): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function removeProductTaxon(ProductTaxonInterface $productTaxon): void;
30 36
 
31 37
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductTranslationInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function getShortDescription(): ?string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setShortDescription(?string $shortDescription): void;
26 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariant.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * {@inheritdoc}
122
+     * @param integer $onHold
122 123
      */
123 124
     public function setOnHold(?int $onHold): void
124 125
     {
@@ -135,6 +136,7 @@  discard block
 block discarded – undo
135 136
 
136 137
     /**
137 138
      * {@inheritdoc}
139
+     * @param integer $onHand
138 140
      */
139 141
     public function setOnHand(?int $onHand): void
140 142
     {
Please login to merge, or discard this patch.