|
@@ -247,7 +247,7 @@ discard block |
|
|
block discarded – undo |
|
247
|
247
|
/** |
|
248
|
248
|
* Initializes a new customer manager object using the given context object. |
|
249
|
249
|
* |
|
250
|
|
- * @param \Aimeos\MShop\Context\Iface $context Context object with required objects |
|
|
250
|
+ * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects |
|
251
|
251
|
*/ |
|
252
|
252
|
public function __construct( \Aimeos\MShop\Context\Item\Iface $context ) |
|
253
|
253
|
{ |
|
@@ -327,7 +327,7 @@ discard block |
|
|
block discarded – undo |
|
327
|
327
|
* |
|
328
|
328
|
* @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
|
329
|
329
|
* @param boolean $fetch True if the new ID should be returned in the item |
|
330
|
|
- * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
|
330
|
+ * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
331
|
331
|
*/ |
|
332
|
332
|
public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
|
333
|
333
|
{ |
|
@@ -517,6 +517,7 @@ discard block |
|
|
block discarded – undo |
|
517
|
517
|
* |
|
518
|
518
|
* @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
|
519
|
519
|
* @param integer &$total Number of items that are available in total |
|
|
520
|
+ * @param integer $total |
|
520
|
521
|
* @return array List of items implementing \Aimeos\MShop\Customer\Item\Iface |
|
521
|
522
|
* @throws \Aimeos\MShop\Customer\Exception If creating items failed |
|
522
|
523
|
*/ |
|
@@ -561,7 +562,7 @@ discard block |
|
|
block discarded – undo |
|
561
|
562
|
* |
|
562
|
563
|
* @param string $manager Name of the sub manager type in lower case |
|
563
|
564
|
* @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
|
564
|
|
- * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
|
565
|
+ * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
565
|
566
|
*/ |
|
566
|
567
|
public function getSubManager( $manager, $name = null ) |
|
567
|
568
|
{ |