@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @var string |
26 | 26 | */ |
27 | - private $prefix = 'ModlrData'; |
|
27 | + private $prefix = 'ModlrData'; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Constructor. |
@@ -45,7 +45,6 @@ |
||
45 | 45 | /** |
46 | 46 | * Returns a set of autocomplete results for a model type, attribute key, and search value. |
47 | 47 | * |
48 | - * @param string $typeKey |
|
49 | 48 | * @param string $attributeKey |
50 | 49 | * @param string $searchValue |
51 | 50 | * @return AutocompleteResult[] |
@@ -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) |
@@ -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. |