@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * @todo Add sorting and pagination (limit/skip). |
97 | 97 | * @todo Handle find all with identifiers. |
98 | 98 | * @param string $typeKey The model type. |
99 | - * @param array $idenitifiers The model identifiers (optional). |
|
99 | + * @param array $identifiers The model identifiers (optional). |
|
100 | 100 | * @return Collection |
101 | 101 | */ |
102 | 102 | public function findAll($typeKey, array $identifiers = []) |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * Loads/creates multiple models from persistence layer Records. |
267 | 267 | * |
268 | 268 | * @param string $typeKey The model type. |
269 | - * @param Record[] $record The persistence layer records. |
|
269 | + * @param Record[] $records The persistence layer records. |
|
270 | 270 | * @return Model[] |
271 | 271 | */ |
272 | 272 | protected function loadModels($typeKey, array $records) |
@@ -562,7 +562,7 @@ discard block |
||
562 | 562 | /** |
563 | 563 | * Converts the id value to a normalized string. |
564 | 564 | * |
565 | - * @param mixed $identenfier The identifier to convert. |
|
565 | + * @param mixed $identifier The identifier to convert. |
|
566 | 566 | * @return string |
567 | 567 | */ |
568 | 568 | protected function convertId($identifier) |
@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * {@inheritDoc} |
90 | 90 | */ |
91 | - public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions =[], $offset = 0, $limit = 0) |
|
91 | + public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions = [], $offset = 0, $limit = 0) |
|
92 | 92 | { |
93 | 93 | $collection = $this->getStore()->findQuery($typeKey, $criteria, $fields, $sort, $offset, $limit); |
94 | 94 | $payload = $this->serializeCollection($collection); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * @param int $limit The number of Models to limit. |
65 | 65 | * @return Collection |
66 | 66 | */ |
67 | - public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions =[], $offset = 0, $limit = 0); |
|
67 | + public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions = [], $offset = 0, $limit = 0); |
|
68 | 68 | |
69 | 69 | /** |
70 | 70 | * Creates a new model. |