Skip to content

Typehint on \Github\Api\Repo->dispatch is wrong #1065

Closed

Description

@cweagans

Github wants an object. We're passing an array. I added $clientPayload = (object) $clientPayload; as the first line of this method to verify. Typehinting object $clientPayload is probably better, but I'm not sure we can really change it without a BC break? Then again, if anyone was attempting to use this, they would have flagged this issue already.

PR incoming.

Activity

  1. added a commit that references this issue on Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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