Fix docblocks and minor refactoring of __get() method

You are right. `@return array|object` in classes like ResultSet could be of different object types.
So those are all fine.