1
0
mirror of synced 2025-01-09 18:47:10 +03:00

Code Style fixes

This commit is contained in:
encoder64 2014-07-27 14:54:35 +03:00
parent c0ee57ae55
commit 90efaeec42
2 changed files with 3 additions and 3 deletions

View File

@ -93,9 +93,9 @@ EOT
if (count($metadatas)) {
$numRepositories = 0;
$generator = new EntityRepositoryGenerator();
$generator->setDefaultRepositoryName($repositoryName);
foreach ($metadatas as $metadata) {
if ($metadata->customRepositoryClassName) {
$output->writeln(

View File

@ -90,7 +90,7 @@ class <className> extends <repositoryName>
$repositoryName = $this->getDefaultRepositoryName();
if (substr($repositoryName, 0, 1) != '\\') {
$repositoryName = '\\'.$repositoryName;
$repositoryName = '\\' . $repositoryName;
}
return $repositoryName;