Skip to content

[Config] EnumNode name cannot be null anymore #25046

@MatTheCat

Description

@MatTheCat
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 4.0.0

aaf2265 removed the possibility for an EnumNode to have a null name. Now using enumPrototype results in

Type error: Argument 1 passed to Symfony\Component\Config\Definition\EnumNode::__construct() must be of the type string, null given, called in symfony/config/Definition/Builder/EnumNodeDefinition.php on line 54

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