瀏覽代碼

fixed line indention coding standards

Dennis Benkert 15 年之前
父節點
當前提交
e815a7eb2e

+ 2 - 2
src/Symfony/Components/Routing/Loader/XmlFileLoader.php

@@ -53,8 +53,8 @@ class XmlFileLoader extends FileLoader
       switch ($node->tagName)
       {
         case 'route':
-         $this->parseRoute($collection, $node, $path);
-         break;
+          $this->parseRoute($collection, $node, $path);
+          break;
         case 'import':
           $this->parseImport($collection, $node, $path);
           break;

+ 4 - 4
src/Symfony/Framework/DoctrineBundle/Command/InitEntityDoctrineCommand.php

@@ -103,9 +103,9 @@ Now you have a new entity and your database has been updated.
     </entity>
 
 </doctrine-mapping>',
-    $fullEntityClassName,
-    str_replace('\\', '_', strtolower($entity))
-  );
+      $fullEntityClassName,
+      str_replace('\\', '_', strtolower($entity))
+    );
 
     if (!is_dir($dir = dirname($path)))
     {
@@ -115,4 +115,4 @@ Now you have a new entity and your database has been updated.
     file_put_contents($path, $xml);
     $this->runCommand('doctrine:build-entities');
   }
-}
+}