1
0
mirror of synced 2025-03-03 19:33:22 +03:00

#1112 - avoiding useless assignments/splitted return statement

This commit is contained in:
Marco Pivetta 2014-08-18 15:02:34 +02:00
parent 7865de92ab
commit 3fed769b40

View File

@ -49,11 +49,7 @@ class DefaultRepositoryFactory implements RepositoryFactory
return $this->repositoryList[$className];
}
$repository = $this->createRepository($entityManager, $entityName);
$this->repositoryList[$className] = $repository;
return $repository;
return $this->repositoryList[$className] = $this->createRepository($entityManager, $entityName);
}
/**