Skip to content

Remove unnecessary AiClient::isConfigured() wrapper method #57

@Ref34t

Description

@Ref34t

The AiClient::isConfigured() method just calls $availability->isConfigured() with no added value.

As noted by @JasonTheAdams in PR #55 - why not just have ProviderInterface::isConfigured() directly?

@felixarntz suggested logging this issue to revisit the pattern after core functionality is complete.

Current:

AiClient::isConfigured($availability)  // wrapper

Proposed:

$provider->isConfigured()  // direct call

This removes unnecessary abstraction and simplifies the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions