#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];
|
return $this->repositoryList[$className];
|
||||||
}
|
}
|
||||||
|
|
||||||
$repository = $this->createRepository($entityManager, $entityName);
|
return $this->repositoryList[$className] = $this->createRepository($entityManager, $entityName);
|
||||||
|
|
||||||
$this->repositoryList[$className] = $repository;
|
|
||||||
|
|
||||||
return $repository;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user