Completed
Branch feature/split-orm (94afb7)
by Anton
03:11
created
source/Spiral/ODM/Schemas/DocumentSchema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.