@@ -123,6 +123,9 @@ |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | |
126 | + /** |
|
127 | + * @param string $name |
|
128 | + */ |
|
126 | 129 | protected function access( $name ) |
127 | 130 | { |
128 | 131 | $class = new \ReflectionClass( \Aimeos\Admin\JsonAdm\Common\Factory\Base::class ); |
@@ -51,6 +51,9 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $site |
|
56 | + */ |
|
54 | 57 | private static function createContext( $site ) |
55 | 58 | { |
56 | 59 | $ctx = new \Aimeos\MShop\Context\Item\Standard(); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * Sets the Aimeos bootstrap object |
71 | 71 | * |
72 | 72 | * @param \Aimeos\Bootstrap $aimeos The Aimeos bootstrap object |
73 | - * @return \Aimeos\Admin\JsonAdm\Iface Reference to this object for fluent calls |
|
73 | + * @return Base Reference to this object for fluent calls |
|
74 | 74 | */ |
75 | 75 | public function setAimeos( \Aimeos\Bootstrap $aimeos ) : \Aimeos\Admin\JsonAdm\Iface |
76 | 76 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * Sets the view object that will generate the admin output. |
99 | 99 | * |
100 | 100 | * @param \Aimeos\MW\View\Iface $view The view object which generates the admin output |
101 | - * @return \Aimeos\Admin\JsonAdm\Iface Reference to this object for fluent calls |
|
101 | + * @return Base Reference to this object for fluent calls |
|
102 | 102 | */ |
103 | 103 | public function setView( \Aimeos\MW\View\Iface $view ) : \Aimeos\Admin\JsonAdm\Iface |
104 | 104 | { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | * |
171 | 171 | * @param \Aimeos\Map $items List of items implementing \Aimeos\MShop\Common\Item\Iface |
172 | 172 | * @param array $include List of resource types that should be fetched |
173 | - * @return array List of items implementing \Aimeos\MShop\Common\Item\Lists\Iface |
|
173 | + * @return \Aimeos\Map List of items implementing \Aimeos\MShop\Common\Item\Lists\Iface |
|
174 | 174 | */ |
175 | 175 | protected function getListItems( \Aimeos\Map $items, array $include ) : \Aimeos\Map |
176 | 176 | { |
@@ -26,6 +26,7 @@ |
||
26 | 26 | * @param \Aimeos\Admin\JsonAdm\Iface $client Client object |
27 | 27 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects |
28 | 28 | * @param string $path Name of the client separated by slashes, e.g "product/stock" |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function __construct( \Aimeos\Admin\JsonAdm\Iface $client, \Aimeos\MShop\Context\Item\Iface $context, string $path ); |
31 | 32 | } |
@@ -25,6 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object |
27 | 27 | * @param string $path Name of the client separated by slashes, e.g "order/base" |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context, string $path ); |
30 | 31 | } |
@@ -77,7 +77,6 @@ |
||
77 | 77 | * |
78 | 78 | * @param \Psr\Http\Message\ServerRequestInterface $request Request object |
79 | 79 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
80 | - * @param string|null $prefix Form parameter prefix when nesting parameters is required |
|
81 | 80 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
82 | 81 | */ |
83 | 82 | public function options( ServerRequestInterface $request, ResponseInterface $response ) : \Psr\Http\Message\ResponseInterface; |
@@ -152,6 +152,9 @@ |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $code |
|
157 | + */ |
|
155 | 158 | protected function getCatalogItem( $code ) |
156 | 159 | { |
157 | 160 | $manager = \Aimeos\MShop::create( $this->context, 'catalog' ); |
@@ -98,6 +98,9 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | |
101 | + /** |
|
102 | + * @param string $name |
|
103 | + */ |
|
101 | 104 | protected function access( $name ) |
102 | 105 | { |
103 | 106 | $class = new \ReflectionClass( \Aimeos\Admin\JsonAdm\Common\Decorator\Base::class ); |
@@ -148,6 +148,9 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | |
151 | + /** |
|
152 | + * @param string $code |
|
153 | + */ |
|
151 | 154 | protected function getSiteItem( $code ) |
152 | 155 | { |
153 | 156 | $manager = \Aimeos\MShop::create( $this->context, 'locale/site' ); |