@@ -357,7 +357,6 @@ discard block |
||
357 | 357 | * |
358 | 358 | * @api |
359 | 359 | * @param string $key |
360 | - * @param Embed $model |
|
361 | 360 | * @return self |
362 | 361 | */ |
363 | 362 | public function pushEmbed($key, Embed $embed) |
@@ -380,7 +379,7 @@ discard block |
||
380 | 379 | * |
381 | 380 | * @api |
382 | 381 | * @param string $key The has-many embed key. |
383 | - * @param Model $embed The embed to remove from the collection. |
|
382 | + * @param Embed $embed The embed to remove from the collection. |
|
384 | 383 | * @return self |
385 | 384 | */ |
386 | 385 | public function removeEmbed($key, Embed $embed) |
@@ -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) |