Passed
Pull Request — 2.6 (#7894)
by
unknown
07:25
created
lib/Doctrine/ORM/Tools/EntityGenerator.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1299,7 +1299,7 @@  discard block
 block discarded – undo
1299 1299
 
1300 1300
             $lines[] = $this->generateAssociationMappingPropertyDocBlock($associationMapping, $metadata);
1301 1301
             $lines[] = $this->spaces . $this->fieldVisibility . ' $' . $associationMapping['fieldName']
1302
-                     . ($associationMapping['type'] == 'manyToMany' ? ' = array()' : null) . ";\n";
1302
+                        . ($associationMapping['type'] == 'manyToMany' ? ' = array()' : null) . ";\n";
1303 1303
         }
1304 1304
 
1305 1305
         return implode("\n", $lines);
@@ -1395,14 +1395,14 @@  discard block
 block discarded – undo
1395 1395
         }
1396 1396
 
1397 1397
         $replacements = [
1398
-          '<description>'       => ucfirst($type) . ' ' . $variableName . '.',
1399
-          '<methodTypeHint>'    => $methodTypeHint,
1400
-          '<variableType>'      => $variableType . (null !== $defaultValue ? ('|' . $defaultValue) : ''),
1401
-          '<variableName>'      => $variableName,
1402
-          '<methodName>'        => $methodName,
1403
-          '<fieldName>'         => $fieldName,
1404
-          '<variableDefault>'   => ($defaultValue !== null ) ? (' = ' . $defaultValue) : '',
1405
-          '<entity>'            => $this->getClassName($metadata)
1398
+            '<description>'       => ucfirst($type) . ' ' . $variableName . '.',
1399
+            '<methodTypeHint>'    => $methodTypeHint,
1400
+            '<variableType>'      => $variableType . (null !== $defaultValue ? ('|' . $defaultValue) : ''),
1401
+            '<variableName>'      => $variableName,
1402
+            '<methodName>'        => $methodName,
1403
+            '<fieldName>'         => $fieldName,
1404
+            '<variableDefault>'   => ($defaultValue !== null ) ? (' = ' . $defaultValue) : '',
1405
+            '<entity>'            => $this->getClassName($metadata)
1406 1406
         ];
1407 1407
 
1408 1408
         $method = str_replace(
Please login to merge, or discard this patch.