#1112 - Removing useless trimming of the entity name being passed in
This commit is contained in:
parent
36bbd28b75
commit
19d3552f2a
@ -41,8 +41,6 @@ class DefaultRepositoryFactory implements RepositoryFactory
|
||||
*/
|
||||
public function getRepository(EntityManagerInterface $entityManager, $entityName)
|
||||
{
|
||||
$entityName = ltrim($entityName, '\\');
|
||||
|
||||
$className = $entityManager->getClassMetadata($entityName)->getName();
|
||||
|
||||
if (isset($this->repositoryList[$className])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user