Passed
Pull Request — master (#7244)
by
unknown
12:27
created
tests/Doctrine/Tests/ORM/Hydration/ResultSetMappingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,6 +132,6 @@
 block discarded – undo
132 132
         $rsm->addEntityResult(LegacyUser::class, 'u')
133 133
             ->addFieldResult('u', 'id', 'id')
134 134
             ->addFieldResult('u', 'name', 'name')
135
-            ->addFieldResult('p','store_id', 'store');
135
+            ->addFieldResult('p', 'store_id', 'store');
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/ResultSetMapping.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
         $found = false;
223 223
 
224 224
         foreach (array_merge($this->metaMappings, $this->fieldMappings) as $columnName => $columnFieldName) {
225
-            if (! ($columnFieldName === $fieldName && $this->columnOwnerMap[$columnName] === $alias)) {
225
+            if ( ! ($columnFieldName === $fieldName && $this->columnOwnerMap[$columnName] === $alias)) {
226 226
                 continue;
227 227
             }
228 228
 
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
             throw new \LogicException(\sprintf('Alias %s does not exist in alias map', $alias));
338 338
         }
339 339
 
340
-        if (! $this->isMixed && $this->scalarMappings) {
340
+        if ( ! $this->isMixed && $this->scalarMappings) {
341 341
             $this->isMixed = true;
342 342
         }
343 343
 
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
         $this->scalarMappings[$columnName] = $alias;
383 383
         $this->typeMappings[$columnName]   = $type;
384 384
 
385
-        if (! $this->isMixed && $this->fieldMappings) {
385
+        if ( ! $this->isMixed && $this->fieldMappings) {
386 386
             $this->isMixed = true;
387 387
         }
388 388
 
Please login to merge, or discard this patch.