Fixes #17 phpDoc fix(object to resource)