Skip to content

Commit 0af92dd

Browse files
committed
[DoctrineBridge] Removed useless code
1 parent b702ac3 commit 0af92dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form/ChoiceList/IdReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(ObjectManager $om, ClassMetadata $classMetadata)
5858
$this->om = $om;
5959
$this->classMetadata = $classMetadata;
6060
$this->singleId = 1 === count($ids);
61-
$this->intId = $this->singleId && 1 === count($ids) && in_array($idType, array('integer', 'smallint', 'bigint'));
61+
$this->intId = $this->singleId && in_array($idType, array('integer', 'smallint', 'bigint'));
6262
$this->idField = current($ids);
6363
}
6464

0 commit comments

Comments
 (0)