@@ -150,7 +150,6 @@ |
||
150 | 150 | * Adds the delivery/payment service item based on the service ID. |
151 | 151 | * |
152 | 152 | * @param string $type Service type code like 'payment' or 'delivery' |
153 | - * @param string $id|null Unique ID of the service item or null to remove it |
|
154 | 153 | * @param array $attributes Associative list of key/value pairs containing the attributes selected or |
155 | 154 | * entered by the customer when choosing one of the delivery or payment options |
156 | 155 | * @throws \Aimeos\Controller\Frontend\Basket\Exception If there is no price to the service item attached |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | /** |
63 | 63 | * Empties the basket and removing all products, addresses, services, etc. |
64 | - * @return void |
|
64 | + * @return Base |
|
65 | 65 | */ |
66 | 66 | public function clear() |
67 | 67 | { |
@@ -134,11 +134,6 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param string $prodid ID of the base product to add |
136 | 136 | * @param integer $quantity Amount of products that should by added |
137 | - * @param array $options Possible options are: 'stock'=>true|false and 'variant'=>true|false |
|
138 | - * The 'stock'=>false option allows adding products without being in stock. |
|
139 | - * The 'variant'=>false option allows adding the selection product to the basket |
|
140 | - * instead of the specific sub-product if the variant-building attribute IDs |
|
141 | - * doesn't match a specific sub-product or if the attribute IDs are missing. |
|
142 | 137 | * @param array $variantAttributeIds List of variant-building attribute IDs that identify a specific product |
143 | 138 | * in a selection products |
144 | 139 | * @param array $configAttributeIds List of attribute IDs that doesn't identify a specific product in a |
@@ -257,7 +252,7 @@ discard block |
||
257 | 252 | /** |
258 | 253 | * Returns the frontend controller |
259 | 254 | * |
260 | - * @return \Aimeos\Controller\Frontend\Basket\Iface Frontend controller object |
|
255 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
261 | 256 | */ |
262 | 257 | protected function getController() |
263 | 258 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Returns the frontend controller |
135 | 135 | * |
136 | - * @return \Aimeos\Controller\Frontend\Subscription\Iface Frontend controller object |
|
136 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
137 | 137 | */ |
138 | 138 | protected function getController() |
139 | 139 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | /** |
119 | 119 | * Returns the frontend controller |
120 | 120 | * |
121 | - * @return \Aimeos\Controller\Frontend\Supplier\Iface Frontend controller object |
|
121 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
122 | 122 | */ |
123 | 123 | protected function getController() |
124 | 124 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Returns the given search filter with the conditions attached for filtering by suppliers. |
124 | 124 | * |
125 | 125 | * @param \Aimeos\MW\Criteria\Iface $filter Criteria object used for product search |
126 | - * @param array $supIds List of supplier IDs for faceted search |
|
126 | + * @param integer[] $supIds List of supplier IDs for faceted search |
|
127 | 127 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
128 | 128 | * @since 2018.07 |
129 | 129 | */ |
@@ -334,6 +334,7 @@ discard block |
||
334 | 334 | * @param \Aimeos\MW\Criteria\Iface $filter Critera object which contains the filter conditions |
335 | 335 | * @param string[] $domains Domain names of items that are associated with the products and that should be fetched too |
336 | 336 | * @param integer &$total Parameter where the total number of found products will be stored in |
337 | + * @param integer $total |
|
337 | 338 | * @return array Ordered list of product items implementing \Aimeos\MShop\Product\Item\Iface |
338 | 339 | * @since 2017.03 |
339 | 340 | */ |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * Creates a new customer item object pre-filled with the given values but not yet stored |
86 | 86 | * |
87 | - * @return \Aimeos\MShop\Customer\Item\Iface Customer item |
|
87 | + * @return \Aimeos\MShop\Attribute\Item\Iface Customer item |
|
88 | 88 | */ |
89 | 89 | public function createItem( array $values = [] ) |
90 | 90 | { |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | /** |
211 | 211 | * Creates a new customer address item object pre-filled with the given values but not yet stored |
212 | 212 | * |
213 | - * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item |
|
213 | + * @return \Aimeos\MShop\Attribute\Item\Iface Customer address item |
|
214 | 214 | */ |
215 | 215 | public function createAddressItem( array $values = [] ) |
216 | 216 | { |