@@ -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 ); |
@@ -210,6 +210,9 @@ |
||
210 | 210 | } |
211 | 211 | |
212 | 212 | |
213 | + /** |
|
214 | + * @param string $name |
|
215 | + */ |
|
213 | 216 | protected function access( $name ) |
214 | 217 | { |
215 | 218 | $class = new \ReflectionClass( '\Aimeos\Controller\Jobs\Subscription\Process\Renew\Standard' ); |