@@ -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, |
@@ -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 ); |
@@ -128,7 +128,6 @@ discard block |
||
| 128 | 128 | * Adds the given addresses to the basket |
| 129 | 129 | * |
| 130 | 130 | * @param \Aimeos\MShop\Context\Item\Iface Context object |
| 131 | - * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object to add the addresses to |
|
| 132 | 131 | * @param array $addresses Associative list of type as key and address object implementing \Aimeos\MShop\Order\Item\Base\Address\Iface as value |
| 133 | 132 | * @return \Aimeos\MShop\Order\Item\Base\Iface Order with addresses added |
| 134 | 133 | */ |
@@ -205,7 +204,6 @@ discard block |
||
| 205 | 204 | * Adds the given products to the basket |
| 206 | 205 | * |
| 207 | 206 | * @param \Aimeos\MShop\Context\Item\Iface Context object |
| 208 | - * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object to add the products to |
|
| 209 | 207 | * @param \Aimeos\MShop\Order\Item\Base\Product\Iface[] $orderProducts List of product items |
| 210 | 208 | * @param string $orderProductId Unique ID of the ordered subscription product |
| 211 | 209 | * @return \Aimeos\MShop\Order\Item\Base\Iface Order with products added |
@@ -232,7 +230,6 @@ discard block |
||
| 232 | 230 | * Adds a matching delivery and payment service to the basket |
| 233 | 231 | * |
| 234 | 232 | * @param \Aimeos\MShop\Context\Item\Iface Context object |
| 235 | - * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object to add the services to |
|
| 236 | 233 | * @param array $services Associative list of type as key and list of service objects implementing \Aimeos\MShop\Order\Item\Base\Service\Iface as values |
| 237 | 234 | * @return \Aimeos\MShop\Order\Item\Base\Iface Order with delivery and payment service added |
| 238 | 235 | */ |
@@ -263,6 +263,9 @@ |
||
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | |
| 266 | + /** |
|
| 267 | + * @param string $name |
|
| 268 | + */ |
|
| 266 | 269 | protected function access( $name ) |
| 267 | 270 | { |
| 268 | 271 | $class = new \ReflectionClass( \Aimeos\Controller\Jobs\Subscription\Process\Renew\Standard::class ); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * Saves the coupon code related data to the storage |
| 38 | 38 | * |
| 39 | 39 | * @param \Aimeos\MShop\Coupon\Item\Code\Iface $item Coupon code object |
| 40 | - * @param array $data List of CSV fields with position as key and data as value |
|
| 40 | + * @param string[] $data List of CSV fields with position as key and data as value |
|
| 41 | 41 | * @return array List of data which hasn't been imported |
| 42 | 42 | */ |
| 43 | 43 | public function process( \Aimeos\MShop\Coupon\Item\Code\Iface $item, array $data ) |