Skip to content

file_usage_add() expects the first argument to be a File object but a stdClass object is getting passed in instead #7

Description

@anemirovsky

I'm guessing this change was done when entities got their own classes, but file_usage_add() now expects the first argument to be a File object but a stdClass object is getting passed in instead. PR incoming!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions