Skip to content

[BUG] v3.1.0 VarnishXKeysPurger getting a RewindableGenerator instead of an array #5365

@silverbackdan

Description

@silverbackdan

API Platform version(s) affected: 3.1.0

Description
Since updating I now get an error:

ApiPlatform\HttpCache\VarnishXKeyPurger::__construct(): Argument #1 ($clients) must be of type array, Symfony\Component\DependencyInjection\Argument\RewindableGenerator given

How to reproduce
Just by using the VarnishXKeys purger, has there been a change which would result in this? I'm noticing that the service declaration is for a set of tagged services. Was there any update to Symfony which changed this?

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