@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Returns the site view helper |
| 39 | 39 | * |
| 40 | - * @return Aimeos\MW\View\Helper\Site\Iface Site view helper |
|
| 40 | + * @return Standard Site view helper |
|
| 41 | 41 | */ |
| 42 | 42 | public function transform() |
| 43 | 43 | { |
@@ -498,7 +498,7 @@ |
||
| 498 | 498 | /** |
| 499 | 499 | * Constructs the data array for the view from the given item |
| 500 | 500 | * |
| 501 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
| 501 | + * @param \Aimeos\MShop\Locale\Item\Site\Iface $item Locale item object |
|
| 502 | 502 | * @return string[] Multi-dimensional associative list of item data |
| 503 | 503 | */ |
| 504 | 504 | protected function toArray( \Aimeos\MShop\Locale\Item\Site\Iface $item, $copy = false ) |
@@ -476,7 +476,7 @@ |
||
| 476 | 476 | /** |
| 477 | 477 | * Constructs the data array for the view from the given item |
| 478 | 478 | * |
| 479 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
| 479 | + * @param \Aimeos\MShop\Locale\Item\Language\Iface $item Locale item object |
|
| 480 | 480 | * @return string[] Multi-dimensional associative list of item data |
| 481 | 481 | */ |
| 482 | 482 | protected function toArray( \Aimeos\MShop\Locale\Item\Language\Iface $item, $copy = false ) |
@@ -479,7 +479,7 @@ |
||
| 479 | 479 | /** |
| 480 | 480 | * Constructs the data array for the view from the given item |
| 481 | 481 | * |
| 482 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
| 482 | + * @param \Aimeos\MShop\Locale\Item\Currency\Iface $item Locale item object |
|
| 483 | 483 | * @return string[] Multi-dimensional associative list of item data |
| 484 | 484 | */ |
| 485 | 485 | protected function toArray( \Aimeos\MShop\Locale\Item\Currency\Iface $item, $copy = false ) |
@@ -126,12 +126,19 @@ |
||
| 126 | 126 | return self::addDecorators( $context, $client, $decorators, $classprefix ); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $path |
|
| 131 | + */ |
|
| 129 | 132 | public static function addClientDecoratorsPublic( \Aimeos\MShop\Context\Item\Iface $context, |
| 130 | 133 | \Aimeos\Admin\JQAdm\Iface $client, $path ) |
| 131 | 134 | { |
| 132 | 135 | return self::addClientDecorators( $context, $client, $path ); |
| 133 | 136 | } |
| 134 | 137 | |
| 138 | + /** |
|
| 139 | + * @param string $classname |
|
| 140 | + * @param string $interface |
|
| 141 | + */ |
|
| 135 | 142 | public static function createClientBasePublic( \Aimeos\MShop\Context\Item\Iface $context, |
| 136 | 143 | $classname, $interface ) |
| 137 | 144 | { |
@@ -464,7 +464,7 @@ |
||
| 464 | 464 | * Creates new and updates existing items using the data array |
| 465 | 465 | * |
| 466 | 466 | * @param string[] Data array |
| 467 | - * @return \Aimeos\MShop\Group\Item\Iface New group item object |
|
| 467 | + * @return \Aimeos\MShop\Common\Item\Iface New group item object |
|
| 468 | 468 | */ |
| 469 | 469 | protected function fromArray( array $data ) |
| 470 | 470 | { |
@@ -300,6 +300,9 @@ |
||
| 300 | 300 | } |
| 301 | 301 | |
| 302 | 302 | |
| 303 | + /** |
|
| 304 | + * @param string $method |
|
| 305 | + */ |
|
| 303 | 306 | public function getClientMock( $method ) |
| 304 | 307 | { |
| 305 | 308 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Attribute\Standard::class ) |
@@ -294,6 +294,9 @@ |
||
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | |
| 297 | + /** |
|
| 298 | + * @param string $method |
|
| 299 | + */ |
|
| 297 | 300 | public function getClientMock( $method ) |
| 298 | 301 | { |
| 299 | 302 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Catalog\Standard::class ) |
@@ -306,6 +306,9 @@ |
||
| 306 | 306 | } |
| 307 | 307 | |
| 308 | 308 | |
| 309 | + /** |
|
| 310 | + * @param string $method |
|
| 311 | + */ |
|
| 309 | 312 | public function getClientMock( $method ) |
| 310 | 313 | { |
| 311 | 314 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Coupon\Standard::class ) |