@@ -167,6 +167,7 @@ discard block |
||
167 | 167 | * |
168 | 168 | * Overloaded to support relationships. |
169 | 169 | * |
170 | + * @param string $key |
|
170 | 171 | */ |
171 | 172 | public function get($key) |
172 | 173 | { |
@@ -412,6 +413,7 @@ discard block |
||
412 | 413 | * Sets a model property: an attribute value, a has-one model, or an entire has-many model collection. |
413 | 414 | * Note: To push/remove a single Model into a has-many collection, or clear a collection, use @see push(), remove() and clear(). |
414 | 415 | * |
416 | + * @param Model|null $value |
|
415 | 417 | */ |
416 | 418 | public function set($key, $value) |
417 | 419 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @todo Add sorting and pagination (limit/skip). |
108 | 108 | * @todo Handle find all with identifiers. |
109 | 109 | * @param string $typeKey The model type. |
110 | - * @param array $idenitifiers The model identifiers (optional). |
|
110 | + * @param array $identifiers The model identifiers (optional). |
|
111 | 111 | * @return Collections\Collection |
112 | 112 | */ |
113 | 113 | public function findAll($typeKey, array $identifiers = []) |
@@ -374,7 +374,6 @@ discard block |
||
374 | 374 | /** |
375 | 375 | * Loads a has-many embed collection. |
376 | 376 | * |
377 | - * @param EmbeddedPropMetadata $relMeta |
|
378 | 377 | * @param array|null $embedDocs |
379 | 378 | * @return Collections\EmbedCollection |
380 | 379 | */ |
@@ -625,7 +624,7 @@ discard block |
||
625 | 624 | /** |
626 | 625 | * Converts the id value to a normalized string. |
627 | 626 | * |
628 | - * @param mixed $identenfier The identifier to convert. |
|
627 | + * @param mixed $identifier The identifier to convert. |
|
629 | 628 | * @return string |
630 | 629 | */ |
631 | 630 | protected function convertId($identifier) |
@@ -278,7 +278,7 @@ |
||
278 | 278 | /** |
279 | 279 | * Validates that the serialized value is support by a RestPayload. |
280 | 280 | * |
281 | - * @param mixed $serialized |
|
281 | + * @param string $serialized |
|
282 | 282 | * @return bool |
283 | 283 | * @throws AdapterException On invalid serialized value. |
284 | 284 | */ |