@@ -264,7 +264,7 @@ |
||
| 264 | 264 | * @param EntityMetadata &$metadata |
| 265 | 265 | * @param EntityMetadata $toAdd |
| 266 | 266 | */ |
| 267 | - private function mergeMetadata(EntityMetadata &$metadata = null, EntityMetadata $toAdd) |
|
| 267 | + private function mergeMetadata(EntityMetadata & $metadata = null, EntityMetadata $toAdd) |
|
| 268 | 268 | { |
| 269 | 269 | if (null === $metadata) { |
| 270 | 270 | $metadata = clone $toAdd; |
@@ -236,8 +236,8 @@ |
||
| 236 | 236 | if (isset($mapping['calculated']) && is_array($mapping['calculated'])) { |
| 237 | 237 | $calculated = $mapping['calculated']; |
| 238 | 238 | if (isset($calculated['class']) && isset($calculated['method'])) { |
| 239 | - $attribute->calculated['class'] = $calculated['class']; |
|
| 240 | - $attribute->calculated['method'] = $calculated['method']; |
|
| 239 | + $attribute->calculated['class'] = $calculated['class']; |
|
| 240 | + $attribute->calculated['method'] = $calculated['method']; |
|
| 241 | 241 | } |
| 242 | 242 | } |
| 243 | 243 | |
@@ -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. |