1
0
Fork 0
mirror of synced 2025-03-30 03:30:13 +03:00

small optimization

This commit is contained in:
Fabio B. Silva 2013-06-11 14:23:50 -04:00 committed by fabios
parent d685f592fe
commit d961028b14
2 changed files with 3 additions and 8 deletions

View file

@ -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)
);
}

View file

@ -208,4 +208,4 @@ class DDC2494TinyIntType extends Type
{
return 'ddc2494_tinyint';
}
}
}