@@ -321,6 +321,7 @@ |
||
321 | 321 | |
322 | 322 | /** |
323 | 323 | * @param string $code |
324 | + * @return \Aimeos\MShop\Catalog\Item\Iface |
|
324 | 325 | */ |
325 | 326 | protected function get( $code ) |
326 | 327 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * |
134 | 134 | * @param array $list Associative list of key/value pairs |
135 | 135 | * @param string $key Key for the value to retrieve |
136 | - * @param mixed $default Default value if key isn't found |
|
136 | + * @param string $default Default value if key isn't found |
|
137 | 137 | * @param mixed Value for the key in the list of the default value |
138 | 138 | */ |
139 | 139 | protected function getValue( array $list, $key, $default ) |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * Initializes the object |
30 | 30 | * |
31 | 31 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object |
32 | - * @param array $mapping Associative list of field position in CSV as key and domain item key as value |
|
32 | + * @param string[] $mapping Associative list of field position in CSV as key and domain item key as value |
|
33 | 33 | * @param \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Iface $object Decorated processor |
34 | 34 | */ |
35 | 35 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context, array $mapping, |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * |
134 | 134 | * @param array $list Associative list of key/value pairs |
135 | 135 | * @param string $key Key for the value to retrieve |
136 | - * @param mixed $default Default value if key isn't found |
|
136 | + * @param string $default Default value if key isn't found |
|
137 | 137 | * @param mixed Value for the key in the list of the default value |
138 | 138 | */ |
139 | 139 | protected function getValue( array $list, $key, $default ) |
@@ -248,6 +248,9 @@ |
||
248 | 248 | } |
249 | 249 | |
250 | 250 | |
251 | + /** |
|
252 | + * @param string $catcode |
|
253 | + */ |
|
251 | 254 | protected function get( $catcode, array $domains = [] ) |
252 | 255 | { |
253 | 256 | $manager = \Aimeos\MShop\Catalog\Manager\Factory::createManager( $this->context ); |