Fixed some @return in PHPDocs

The return type is copied from the php.net manual