[DoctrineBridge] Removed useless code

This commit is contained in:
Bernhard Schussek 2015-04-03 17:48:01 +02:00
parent 8be29031b2
commit d851a0550a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class IdReader
$this->om = $om;
$this->classMetadata = $classMetadata;
$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);
}