Skip to content

Client::geUri() typo, MissingClientException::create() typing #39

Closed

Description

@njoubert-cleverage

Description

  • ClientInterface::geUri() / Client::geUri(): typo, getUri() expected (documented as is in reference/client.md).
  • MissingClientException::create($code): untyped parameter, return type in the docblock only.

Proposal

  • Add Client::getUri(), and deprecate geUri() (kept in ClientInterface and Client, calling getUri(), with a deprecation): adding getUri() to ClientInterface would break the custom clients, it can be done in the next major version.
  • MissingClientException::create(string $code): self.
  • Update reference/client.md.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

geUri() is deprecated (still available). A class extending MissingClientException and overriding create() must declare the same types.

Activity

  1. added a commit that references this issue on Oct 2, 2026
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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions