@@ -145,7 +145,7 @@ |
||
145 | 145 | * Creates a list of all available translations. |
146 | 146 | * |
147 | 147 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object |
148 | - * @return array List of language IDs with labels |
|
148 | + * @return string List of language IDs with labels |
|
149 | 149 | */ |
150 | 150 | protected function getJsonLanguages( \Aimeos\MShop\Context\Item\Iface $context ) |
151 | 151 | { |
@@ -28,7 +28,6 @@ discard block |
||
28 | 28 | * |
29 | 29 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
30 | 30 | * @param string Resource location, e.g. "product/stock/wareshouse" |
31 | - * @param string $sitecode Unique site code |
|
32 | 31 | * @param integer|null $id Unique resource ID |
33 | 32 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
34 | 33 | */ |
@@ -49,7 +48,6 @@ discard block |
||
49 | 48 | * |
50 | 49 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
51 | 50 | * @param string Resource location, e.g. "product/stock/wareshouse" |
52 | - * @param string $sitecode Unique site code |
|
53 | 51 | * @param integer|null $id Unique resource ID |
54 | 52 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
55 | 53 | */ |
@@ -70,7 +68,6 @@ discard block |
||
70 | 68 | * |
71 | 69 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
72 | 70 | * @param string Resource location, e.g. "product/stock/wareshouse" |
73 | - * @param string $sitecode Unique site code |
|
74 | 71 | * @param integer|null $id Unique resource ID |
75 | 72 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
76 | 73 | */ |
@@ -91,7 +88,6 @@ discard block |
||
91 | 88 | * |
92 | 89 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
93 | 90 | * @param string Resource location, e.g. "product/stock/wareshouse" |
94 | - * @param string $sitecode Unique site code |
|
95 | 91 | * @param integer $id Unique ID of the resource |
96 | 92 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
97 | 93 | */ |
@@ -112,7 +108,6 @@ discard block |
||
112 | 108 | * |
113 | 109 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
114 | 110 | * @param string Resource location, e.g. "product/stock/wareshouse" |
115 | - * @param string $sitecode Unique site code |
|
116 | 111 | * @param integer|null $id Unique resource ID |
117 | 112 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
118 | 113 | */ |
@@ -133,7 +128,6 @@ discard block |
||
133 | 128 | * |
134 | 129 | * @param \Symfony\Component\HttpFoundation\Request $request Request object |
135 | 130 | * @param string Resource location, e.g. "product/stock/wareshouse" |
136 | - * @param string $sitecode Unique site code |
|
137 | 131 | * @return \Symfony\Component\HttpFoundation\Response Response object containing the generated output |
138 | 132 | */ |
139 | 133 | public function optionsAction( Request $request, $resource = '', $site = 'default' ) |
@@ -177,7 +171,7 @@ discard block |
||
177 | 171 | * @param string $content Body of the HTTP response |
178 | 172 | * @param integer $status HTTP status |
179 | 173 | * @param array $header List of HTTP headers |
180 | - * @return \Illuminate\Http\Response HTTP response object |
|
174 | + * @return Response HTTP response object |
|
181 | 175 | */ |
182 | 176 | protected function createResponse( $content, $status, array $header ) |
183 | 177 | { |