Skip to content

Model->getMetadata TypeError #107

@timbit123

Description

@timbit123

Hello
I have an error with the function, it can return an array not only a string
For exemple if you call it with ->getMetadata('labels')

"Return value of Maclof\Kubernetes\Models\Model::getMetadata() must be of the type string or null, array returned"

public function getMetadata(string $key): ?string

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions