@@ -4,12 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use As3\Modlr\Api\AbstractAdapter; |
6 | 6 | use As3\Modlr\Api\AdapterException; |
7 | -use As3\Modlr\Exception\HttpExceptionInterface; |
|
8 | 7 | use As3\Modlr\Metadata\EntityMetadata; |
9 | -use As3\Modlr\Models\Collection; |
|
10 | -use As3\Modlr\Models\Model; |
|
11 | 8 | use As3\Modlr\Rest; |
12 | -use As3\Modlr\Store\Store; |
|
13 | 9 | |
14 | 10 | /** |
15 | 11 | * Adapter for handling API operations using the JSON API specification. |
@@ -181,7 +181,6 @@ discard block |
||
181 | 181 | /** |
182 | 182 | * Serializes an embed many value. |
183 | 183 | * |
184 | - * @param EmbedMetadata $embedMeta |
|
185 | 184 | * @param Embed|null $embed |
186 | 185 | * @return array |
187 | 186 | */ |
@@ -230,7 +229,7 @@ discard block |
||
230 | 229 | * @param Model $owner |
231 | 230 | * @param Model[]|null $models |
232 | 231 | * @param AdapterInterface $adapter |
233 | - * @return array |
|
232 | + * @return \As3\Modlr\Metadata\EntityMetadata |
|
234 | 233 | */ |
235 | 234 | protected function serializeHasMany(Model $owner, array $models = null, AdapterInterface $adapter) |
236 | 235 | { |
@@ -246,7 +245,7 @@ discard block |
||
246 | 245 | * @param Model $owner |
247 | 246 | * @param Model|null $model |
248 | 247 | * @param AdapterInterface $adapter |
249 | - * @return array |
|
248 | + * @return \As3\Modlr\Metadata\EntityMetadata |
|
250 | 249 | */ |
251 | 250 | protected function serializeHasOne(Model $owner, Model $model = null, AdapterInterface $adapter) |
252 | 251 | { |