Skip to content

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

@KarlsonComplete

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions