diff --git a/src/Symfony/Components/Routing/Loader/XmlFileLoader.php b/src/Symfony/Components/Routing/Loader/XmlFileLoader.php index 31c92ba692..9329197d54 100644 --- a/src/Symfony/Components/Routing/Loader/XmlFileLoader.php +++ b/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; diff --git a/src/Symfony/Framework/DoctrineBundle/Command/InitEntityDoctrineCommand.php b/src/Symfony/Framework/DoctrineBundle/Command/InitEntityDoctrineCommand.php index ebece434f4..2806ed5269 100644 --- a/src/Symfony/Framework/DoctrineBundle/Command/InitEntityDoctrineCommand.php +++ b/src/Symfony/Framework/DoctrineBundle/Command/InitEntityDoctrineCommand.php @@ -103,9 +103,9 @@ Now you have a new entity and your database has been updated. ', - $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'); } -} \ No newline at end of file +}