@@ -37,7 +37,6 @@ |
||
37 | 37 | protected $name; |
38 | 38 | |
39 | 39 | /** |
40 | - * @param string $name |
|
41 | 40 | */ |
42 | 41 | public function __construct() |
43 | 42 | { |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $currencyCode |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function setCurrencyCode($currencyCode); |
26 | 27 | |
@@ -30,12 +31,13 @@ discard block |
||
30 | 31 | public function getCurrencyCode(); |
31 | 32 | |
32 | 33 | /** |
33 | - * @return Collection|OrderInterface[] |
|
34 | + * @return \Doctrine\Common\Collections\ArrayCollection |
|
34 | 35 | */ |
35 | 36 | public function getOrders(); |
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param AddressInterface $billingAddress |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setBillingAddress(AddressInterface $billingAddress = null); |
41 | 43 | |
@@ -46,6 +48,7 @@ discard block |
||
46 | 48 | |
47 | 49 | /** |
48 | 50 | * @param AddressInterface $shippingAddress |
51 | + * @return void |
|
49 | 52 | */ |
50 | 53 | public function setShippingAddress(AddressInterface $shippingAddress = null); |
51 | 54 | |
@@ -56,11 +59,13 @@ discard block |
||
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param AddressInterface $address |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function addAddress(AddressInterface $address); |
61 | 65 | |
62 | 66 | /** |
63 | 67 | * @param AddressInterface $address |
68 | + * @return void |
|
64 | 69 | */ |
65 | 70 | public function removeAddress(AddressInterface $address); |
66 | 71 | |
@@ -72,7 +77,7 @@ discard block |
||
72 | 77 | public function hasAddress(AddressInterface $address); |
73 | 78 | |
74 | 79 | /** |
75 | - * @return Collection|AddressInterface[] |
|
80 | + * @return \Doctrine\Common\Collections\ArrayCollection |
|
76 | 81 | */ |
77 | 82 | public function getAddresses(); |
78 | 83 | } |
@@ -353,7 +353,7 @@ |
||
353 | 353 | } |
354 | 354 | |
355 | 355 | /** |
356 | - * @return null|BaseCouponInterface |
|
356 | + * @return BaseCouponInterface |
|
357 | 357 | */ |
358 | 358 | public function getPromotionCoupon() |
359 | 359 | { |
@@ -55,11 +55,13 @@ discard block |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @param ProductVariantImageInterface $image |
58 | + * @return void |
|
58 | 59 | */ |
59 | 60 | public function addImage(ProductVariantImageInterface $image); |
60 | 61 | |
61 | 62 | /** |
62 | 63 | * @param ProductVariantImageInterface $image |
64 | + * @return void |
|
63 | 65 | */ |
64 | 66 | public function removeImage(ProductVariantImageInterface $image); |
65 | 67 | |
@@ -70,6 +72,7 @@ discard block |
||
70 | 72 | |
71 | 73 | /** |
72 | 74 | * @param int $sold |
75 | + * @return void |
|
73 | 76 | */ |
74 | 77 | public function setSold($sold); |
75 | 78 | |
@@ -80,6 +83,7 @@ discard block |
||
80 | 83 | |
81 | 84 | /** |
82 | 85 | * @param float $weight |
86 | + * @return void |
|
83 | 87 | */ |
84 | 88 | public function setWeight($weight); |
85 | 89 | |
@@ -90,6 +94,7 @@ discard block |
||
90 | 94 | |
91 | 95 | /** |
92 | 96 | * @param float $width |
97 | + * @return void |
|
93 | 98 | */ |
94 | 99 | public function setWidth($width); |
95 | 100 | |
@@ -100,6 +105,7 @@ discard block |
||
100 | 105 | |
101 | 106 | /** |
102 | 107 | * @param float $height |
108 | + * @return void |
|
103 | 109 | */ |
104 | 110 | public function setHeight($height); |
105 | 111 | |
@@ -110,6 +116,7 @@ discard block |
||
110 | 116 | |
111 | 117 | /** |
112 | 118 | * @param float $depth |
119 | + * @return void |
|
113 | 120 | */ |
114 | 121 | public function setDepth($depth); |
115 | 122 | |
@@ -120,6 +127,7 @@ discard block |
||
120 | 127 | |
121 | 128 | /** |
122 | 129 | * @param int|null $originalPrice |
130 | + * @return void |
|
123 | 131 | */ |
124 | 132 | public function setOriginalPrice($originalPrice); |
125 | 133 | |
@@ -130,6 +138,7 @@ discard block |
||
130 | 138 | |
131 | 139 | /** |
132 | 140 | * @param TaxCategoryInterface $category |
141 | + * @return void |
|
133 | 142 | */ |
134 | 143 | public function setTaxCategory(TaxCategoryInterface $category = null); |
135 | 144 | } |
@@ -20,12 +20,13 @@ |
||
20 | 20 | interface TaxonInterface extends VariableTaxonInterface |
21 | 21 | { |
22 | 22 | /** |
23 | - * @return Collection|ProductInterface[] |
|
23 | + * @return \Doctrine\Common\Collections\ArrayCollection |
|
24 | 24 | */ |
25 | 25 | public function getProducts(); |
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param ProductInterface[] $products |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setProducts($products); |
31 | 32 | } |
@@ -23,6 +23,9 @@ |
||
23 | 23 | */ |
24 | 24 | interface ProductRepositoryInterface extends BaseProductRepositoryInterface |
25 | 25 | { |
26 | + /** |
|
27 | + * @return \Doctrine\ORM\QueryBuilder |
|
28 | + */ |
|
26 | 29 | public function createListQueryBuilder(); |
27 | 30 | |
28 | 31 | /** |
@@ -17,11 +17,13 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * @param ImageInterface $image |
20 | + * @return void |
|
20 | 21 | */ |
21 | 22 | public function upload(ImageInterface $image); |
22 | 23 | |
23 | 24 | /** |
24 | 25 | * @param string $path |
26 | + * @return boolean |
|
25 | 27 | */ |
26 | 28 | public function remove($path); |
27 | 29 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param Grid $grid |
24 | - * @param array $parameters |
|
24 | + * @param Parameters $parameters |
|
25 | 25 | * |
26 | 26 | * @return mixed |
27 | 27 | */ |
@@ -21,8 +21,9 @@ |
||
21 | 21 | /** |
22 | 22 | * @param DataSourceInterface $dataSource |
23 | 23 | * @param string $name |
24 | - * @param mixed $data |
|
24 | + * @param string $data |
|
25 | 25 | * @param array $options |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function apply(DataSourceInterface $dataSource, $name, $data, array $options); |
28 | 29 | } |