Use parsed type information for arguments and return correctly

PR #22 changed behaviour by parsing type and variable information from
PHPDoc before it is inserted into the database. Therefore, the
templating code needed to be updated to remove its on-the-fly parsing.