Completed
Push — master ( c14805...89a008 )
by Marco
10:07
created
lib/Doctrine/ORM/Tools/EntityGenerator.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1292,7 +1292,7 @@  discard block
 block discarded – undo
1292 1292
 
1293 1293
             $lines[] = $this->generateAssociationMappingPropertyDocBlock($associationMapping, $metadata);
1294 1294
             $lines[] = $this->spaces . $this->fieldVisibility . ' $' . $associationMapping['fieldName']
1295
-                     . ($associationMapping['type'] == 'manyToMany' ? ' = array()' : null) . ";\n";
1295
+                        . ($associationMapping['type'] == 'manyToMany' ? ' = array()' : null) . ";\n";
1296 1296
         }
1297 1297
 
1298 1298
         return implode("\n", $lines);
@@ -1320,7 +1320,7 @@  discard block
 block discarded – undo
1320 1320
 
1321 1321
             $lines[] = $this->generateFieldMappingPropertyDocBlock($fieldMapping, $metadata);
1322 1322
             $lines[] = $this->spaces . $this->fieldVisibility . ' $' . $fieldMapping['fieldName']
1323
-                     . (isset($fieldMapping['options']['default']) ? ' = ' . var_export($fieldMapping['options']['default'], true) : null) . ";\n";
1323
+                        . (isset($fieldMapping['options']['default']) ? ' = ' . var_export($fieldMapping['options']['default'], true) : null) . ";\n";
1324 1324
         }
1325 1325
 
1326 1326
         return implode("\n", $lines);
@@ -1383,14 +1383,14 @@  discard block
 block discarded – undo
1383 1383
         }
1384 1384
 
1385 1385
         $replacements = array(
1386
-          '<description>'       => ucfirst($type) . ' ' . $variableName . '.',
1387
-          '<methodTypeHint>'    => $methodTypeHint,
1388
-          '<variableType>'      => $variableType . (null !== $defaultValue ? ('|' . $defaultValue) : ''),
1389
-          '<variableName>'      => $variableName,
1390
-          '<methodName>'        => $methodName,
1391
-          '<fieldName>'         => $fieldName,
1392
-          '<variableDefault>'   => ($defaultValue !== null ) ? (' = ' . $defaultValue) : '',
1393
-          '<entity>'            => $this->getClassName($metadata)
1386
+            '<description>'       => ucfirst($type) . ' ' . $variableName . '.',
1387
+            '<methodTypeHint>'    => $methodTypeHint,
1388
+            '<variableType>'      => $variableType . (null !== $defaultValue ? ('|' . $defaultValue) : ''),
1389
+            '<variableName>'      => $variableName,
1390
+            '<methodName>'        => $methodName,
1391
+            '<fieldName>'         => $fieldName,
1392
+            '<variableDefault>'   => ($defaultValue !== null ) ? (' = ' . $defaultValue) : '',
1393
+            '<entity>'            => $this->getClassName($metadata)
1394 1394
         );
1395 1395
 
1396 1396
         $method = str_replace(
Please login to merge, or discard this patch.