Sfoglia il codice sorgente

Updated EntityGenerator spaces param to new coding standards

Jeremy Mikola 15 anni fa
parent
commit
59f60abbd5

+ 1 - 1
src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php

@@ -73,7 +73,7 @@ abstract class DoctrineCommand extends Command
         $entityGenerator->setGenerateStubMethods(true);
         $entityGenerator->setRegenerateEntityIfExists(false);
         $entityGenerator->setUpdateEntityIfExists(true);
-        $entityGenerator->setNumSpaces(2);
+        $entityGenerator->setNumSpaces(4);
         return $entityGenerator;
     }