Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

HydratingResultSet current method DocBlock @return #316

@twmobius

Description

@twmobius

HydratingResultSet current() method is specified in the DocBlock block that is should return an object as seen here:

The method however could also return a boolean false:

$object = is_array($data) ? $this->hydrator->hydrate($data, clone $this->objectPrototype) : false;

I am guessing that the best solution for this, as well as possibly other locations to change the boolean false to null and mark the method to return ?object instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions