Skip to content

Remove constructor from IStorage interface #32709

@come-nc

Description

@come-nc

\OCP\Files\Storage\IStorage and \OCP\Files\Storage contain a constructor, which triggers errors and warninigs en classes implementing those that other parameters in their constructor, like \OC\Encryption\Keys\Storage.

I’m pretty sure there is no reason to have these constructors in the interfaces, unless we sometime build an instance without knowing which class it is?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions