small optimization
This commit is contained in:
parent
d685f592fe
commit
d961028b14
2 changed files with 3 additions and 8 deletions
|
@ -178,14 +178,9 @@ class SimpleObjectHydrator extends AbstractHydrator
|
|||
}
|
||||
|
||||
if (isset($this->_rsm->metaMappings[$column])) {
|
||||
$name = $this->_rsm->metaMappings[$column];
|
||||
$type = isset($this->_rsm->typeMappings[$column])
|
||||
? $this->_rsm->typeMappings[$column]
|
||||
: null;
|
||||
|
||||
return array(
|
||||
'name' => $name,
|
||||
'type' => $type
|
||||
'name' => $this->_rsm->metaMappings[$column],
|
||||
'type' => (isset($this->_rsm->typeMappings[$column]) ? $this->_rsm->typeMappings[$column] : null)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -208,4 +208,4 @@ class DDC2494TinyIntType extends Type
|
|||
{
|
||||
return 'ddc2494_tinyint';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue