1
0
mirror of synced 2025-01-31 04:21:44 +03:00

[2.0][DDC-71] Fixing call to incorrect method name

This commit is contained in:
jwage 2009-11-11 19:39:47 +00:00
parent 1405993e6a
commit d047f0e25e

View File

@ -189,13 +189,13 @@ class AnnotationExporter extends AbstractExporter
private function _getClassToExtendName()
{
$refl = new \ReflectionClass($this->getClassToExtend());
$refl = new \ReflectionClass($this->_getClassToExtend());
return $refl->getShortName();
}
private function _getClassToExtendNamespace()
{
$refl = new \ReflectionClass($this->getClassToExtend());
$refl = new \ReflectionClass($this->_getClassToExtend());
return $refl->getNamespaceName() ? $refl->getNamespaceName():$refl->getShortName();
}