Skip to content

Type error on CombinedStatus->statuses() #74

Description

@fcurella

calling CombinedStatus->statuses() raises the following error:

Fatal error: Uncaught TypeError: Return value of ApiClients\Client\Github\Resource\Repository\Commit\CombinedStatus::statuses() must be an instance of ApiClients\Client\Github\Resource\Repository\Commit\Repository\Commit\Status, array returned in /workdir/vendor/api-clients/github/src/Resource/Repository/Commit/CombinedStatus.php:88

Shouldn't the return type be array instead of Status?

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