#1120 - removed redundant if
block
This commit is contained in:
parent
1208cc836a
commit
d5d64b756d
1 changed files with 1 additions and 5 deletions
|
@ -173,11 +173,7 @@ EOT
|
|||
$matches = array_filter(
|
||||
$this->getMappedEntities($entityManager),
|
||||
function ($mappedEntity) use ($entityName) {
|
||||
if (preg_match('{' . preg_quote($entityName) . '}', $mappedEntity)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return preg_match('{' . preg_quote($entityName) . '}', $mappedEntity);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue