added return type to Method class

This commit is contained in:
Christian Kerl
2011-01-07 23:00:17 +01:00
parent 1f8773a433
commit 928dc80b5e
2 changed files with 15 additions and 1 deletions

View File

@ -64,6 +64,8 @@ class XmlFileLoader extends FileLoader
$method->getArguments()->add($this->parseArgument($argument));
}
$method->setReturn($this->parseType($node->return->type));
return $method;
}