| @@ -68,6 +68,10 @@ | ||
| 68 | 68 | private $id; | 
| 69 | 69 | private $label; | 
| 70 | 70 | |
| 71 | + /** | |
| 72 | + * @param integer $id | |
| 73 | + * @param string $label | |
| 74 | + */ | |
| 71 | 75 | public function __construct( $id, $label ) | 
| 72 | 76 |  	{ | 
| 73 | 77 | $this->id = $id; | 
| @@ -305,6 +305,9 @@ | ||
| 305 | 305 | } | 
| 306 | 306 | |
| 307 | 307 | |
| 308 | + /** | |
| 309 | + * @param string $method | |
| 310 | + */ | |
| 308 | 311 | public function getClientMock( $method ) | 
| 309 | 312 |  	{ | 
| 310 | 313 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Order\Standard::class ) | 
| @@ -83,6 +83,9 @@ | ||
| 83 | 83 | } | 
| 84 | 84 | |
| 85 | 85 | |
| 86 | + /** | |
| 87 | + * @return Aimeos\Bootstrap | |
| 88 | + */ | |
| 86 | 89 | public static function getAimeos() | 
| 87 | 90 |  	{ | 
| 88 | 91 | if( !isset( self::$aimeos ) ) | 
| @@ -407,7 +407,7 @@ | ||
| 407 | 407 | $data['time'] = $fs->time( $data['attribute.code'] ); | 
| 408 | 408 | $data['size'] = $fs->size( $data['attribute.code'] ); | 
| 409 | 409 | } | 
| 410 | -			catch( \Exception $e ) { ; } // Show product even if file isn't available any more | |
| 410 | +			catch( \Exception $e ) {; } // Show product even if file isn't available any more | |
| 411 | 411 | } | 
| 412 | 412 | |
| 413 | 413 | return $data; | 
| @@ -569,7 +569,7 @@ discard block | ||
| 569 | 569 | /** | 
| 570 | 570 | * Returns a map of code/item pairs | 
| 571 | 571 | * | 
| 572 | - * @param \Aimeos\MShop\Common\Item\Type\Iface[] $items Associative list of type items | |
| 572 | + * @param \Aimeos\Map $items Associative list of type items | |
| 573 | 573 | * @return \Aimeos\MShop\Common\Item\Type\Iface[] Associative list of codes as keys and items as values | 
| 574 | 574 | * @deprecated 2021.01 | 
| 575 | 575 | */ | 
| @@ -589,9 +589,7 @@ discard block | ||
| 589 | 589 | * Adds a redirect to the response for the next action | 
| 590 | 590 | * | 
| 591 | 591 | * @param string $resource Resource name | 
| 592 | - * @param string|null $action Next action | |
| 593 | 592 | * @param string|null $id ID of the next resource item | 
| 594 | - * @param string|null $act Current action name | |
| 595 | 593 | * @return string|null Returns value for the actions | 
| 596 | 594 | */ | 
| 597 | 595 | protected function redirect( string $resource, ?string $action, string $id = null, | 
| @@ -24,6 +24,7 @@ | ||
| 24 | 24 | * Initializes the class instance. | 
| 25 | 25 | * | 
| 26 | 26 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object | 
| 27 | + * @return void | |
| 27 | 28 | */ | 
| 28 | 29 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context ); | 
| 29 | 30 | } | 
| @@ -25,6 +25,7 @@ | ||
| 25 | 25 | * | 
| 26 | 26 | * @param \Aimeos\Admin\JQAdm\Iface $client Admin object | 
| 27 | 27 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects | 
| 28 | + * @return void | |
| 28 | 29 | */ | 
| 29 | 30 | public function __construct( \Aimeos\Admin\JQAdm\Iface $client, \Aimeos\MShop\Context\Item\Iface $context ); | 
| 30 | 31 | } | 
| @@ -142,7 +142,7 @@ | ||
| 142 | 142 | * @param \Aimeos\MShop\Context\Item\Iface $context Context instance with necessary objects | 
| 143 | 143 | * @param string $classname Name of the client class | 
| 144 | 144 | * @param string $interface Name of the client interface | 
| 145 | - * @return \Aimeos\Admin\JQAdm\\Iface Admin object | |
| 145 | + * @return \Aimeos\Admin\JQAdm\Iface Admin object | |
| 146 | 146 | * @throws \Aimeos\Admin\JQAdm\Exception If client couldn't be found or doesn't implement the interface | 
| 147 | 147 | */ | 
| 148 | 148 | protected static function createAdmin( \Aimeos\MShop\Context\Item\Iface $context, | 
| @@ -413,7 +413,7 @@ | ||
| 413 | 413 | /** | 
| 414 | 414 | * Constructs the data array for the view from the given item | 
| 415 | 415 | * | 
| 416 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale langauge item object | |
| 416 | + * @param \Aimeos\MShop\Locale\Item\Language\Iface $item Locale langauge item object | |
| 417 | 417 | * @return string[] Multi-dimensional associative list of item data | 
| 418 | 418 | */ | 
| 419 | 419 | protected function toArray( \Aimeos\MShop\Locale\Item\Language\Iface $item, bool $copy = false ) : array |