Fixing broken mtgMetaInterface::getImplements() method
This commit is contained in:
parent
68898b4327
commit
1e9d2c31e8
|
@ -287,7 +287,13 @@ class mtgMetaInterface extends mtgUserType
|
|||
|
||||
function getImplements()
|
||||
{
|
||||
return $this->parent ? $this->parent->resolve() : null;
|
||||
if(!$this->implements)
|
||||
return array();
|
||||
|
||||
$imps = array();
|
||||
foreach($this->implements as $imp)
|
||||
$imps[] = $imp->resolve();
|
||||
return $imps;
|
||||
}
|
||||
|
||||
function getFuncs()
|
||||
|
|
Loading…
Reference in New Issue