Преглед на файлове

Fixing coding standards.

Jonathan H. Wage преди 15 години
родител
ревизия
8417e6936a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php

@@ -111,7 +111,7 @@ EOT
 
             $exporter->setEntityGenerator($this->getEntityGenerator());
         } else {
-            $mappingType = $mappingType=='yaml' ? 'yml' : $mappingType;
+            $mappingType = $mappingType == 'yaml' ? 'yml' : $mappingType;
             $path = $dirs[$namespace].'/'.$bundle.'/Resources/config/doctrine/metadata/'.str_replace('\\', '.', $fullEntityClassName).'.dcm.'.$mappingType;
         }