Skip to content

[Feature in SDK]: Add getCurrent() method to ApplicationInstallationRepositoryInterface #356

Description

@KarlsonComplete

Description

Call to an undefined method Bitrix24\SDK\Application\Contracts\ApplicationInstallations\Repository\ApplicationInstallationRepositoryInterface::getCurrent()

The ApplicationInstallationRepositoryInterface is missing the getCurrent() method definition, which is being used in the Unlink use case.
Fix suggestion:
Add the following method signature to ApplicationInstallationRepositoryInterface:

public function getCurrent(): ApplicationInstallationInterface;
This will align the interface with its usage and resolve the PHPStan error.

Example

No response

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions