[DoctrineBridge] Removed useless code
This commit is contained in:
parent
8be29031b2
commit
d851a0550a
@ -58,7 +58,7 @@ class IdReader
|
|||||||
$this->om = $om;
|
$this->om = $om;
|
||||||
$this->classMetadata = $classMetadata;
|
$this->classMetadata = $classMetadata;
|
||||||
$this->singleId = 1 === count($ids);
|
$this->singleId = 1 === count($ids);
|
||||||
$this->intId = $this->singleId && 1 === count($ids) && in_array($idType, array('integer', 'smallint', 'bigint'));
|
$this->intId = $this->singleId && in_array($idType, array('integer', 'smallint', 'bigint'));
|
||||||
$this->idField = current($ids);
|
$this->idField = current($ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user