@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $aggregationType = isset($type[Document::ONE]) ? Document::ONE : Document::MANY; |
176 | 176 | |
177 | 177 | $result[$field] = new AggregationDefinition( |
178 | - $aggregationType, //Aggregation type |
|
178 | + $aggregationType, //Aggregation type |
|
179 | 179 | $type[$aggregationType], //Class name |
180 | 180 | array_pop($type) //Query template |
181 | 181 | ); |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | if ( |
363 | 363 | is_array($type) |
364 | 364 | && is_scalar($type[0]) |
365 | - && $filter = $this->mutators->getMutators('array::' . $type[0]) |
|
365 | + && $filter = $this->mutators->getMutators('array::'.$type[0]) |
|
366 | 366 | ) { |
367 | 367 | //Mutator associated to array with specified type |
368 | 368 | $resolved += $filter; |