fix indentation problem

This commit is contained in:
woodspire 2012-12-05 08:35:28 -05:00
parent 6f8cd9daf0
commit 36d6c40bb1

View File

@ -77,9 +77,9 @@ class ModelChoiceList extends ObjectChoiceList
} }
if (1 === count($this->identifier)) { if (1 === count($this->identifier)) {
if ($this->isInteger(current($this->identifier))) { if ($this->isInteger(current($this->identifier))) {
$this->identifierAsIndex = true; $this->identifierAsIndex = true;
} }
} }
parent::__construct($choices, $labelPath, array(), $groupPath); parent::__construct($choices, $labelPath, array(), $groupPath);
@ -372,6 +372,6 @@ class ModelChoiceList extends ObjectChoiceList
*/ */
private function isInteger($col) private function isInteger($col)
{ {
return $col->getPdoType() === \PDO::PARAM_INT; return $col->getPdoType() === PDO::PARAM_INT;
} }
} }