#1112 - avoiding useless assignments/splitted return statement
This commit is contained in:
parent
7865de92ab
commit
3fed769b40
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user