Fixed incorrect PHPDoc classes

Fixes issue where IDE's or documentation which use the @return annotation will report the wrong class.