Fix inline doc typehinting.
Set correct return type in docblock for getSubpackage()