@@ -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 | { |
@@ -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 ); |
@@ -115,6 +115,10 @@ discard block |
||
115 | 115 | return \TestHelperCntl::getContext(); |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param string $type |
|
120 | + * @param string $name |
|
121 | + */ |
|
118 | 122 | public function getCachePublic( $type, $name = null ) |
119 | 123 | { |
120 | 124 | return $this->getCache( $type, $name ); |
@@ -127,6 +131,11 @@ discard block |
||
127 | 131 | } |
128 | 132 | |
129 | 133 | |
134 | + /** |
|
135 | + * @param string $path |
|
136 | + * @param string $domain |
|
137 | + * @param string $code |
|
138 | + */ |
|
130 | 139 | public function getTypeIdPublic( $path, $domain, $code ) |
131 | 140 | { |
132 | 141 | return $this->getTypeId( $path, $domain, $code ); |
@@ -297,7 +297,7 @@ |
||
297 | 297 | * Adds the content for the site map index file |
298 | 298 | * |
299 | 299 | * @param \Aimeos\MW\Container\Iface $container File container object |
300 | - * @param array $files List of generated site map file names |
|
300 | + * @param string[] $files List of generated site map file names |
|
301 | 301 | */ |
302 | 302 | protected function createSitemapIndex( \Aimeos\MW\Container\Iface $container, array $files ) |
303 | 303 | { |
@@ -275,7 +275,7 @@ |
||
275 | 275 | * |
276 | 276 | * @param \Aimeos\MW\Container\Iface $container Container object |
277 | 277 | * @param boolean $default True to filter exported products by default criteria |
278 | - * @return array List of content (file) names |
|
278 | + * @return string[] List of content (file) names |
|
279 | 279 | */ |
280 | 280 | protected function export( \Aimeos\MW\Container\Iface $container, $default = true ) |
281 | 281 | { |