Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[PropertyInfo] Extract from default value doesn't set collection boolean #38445

Copy link
Copy link
Closed
@Korbeil

Description

@Korbeil
Issue body actions

Symfony version(s) affected: >= 5.1.7

Description
Since #38041, the extractFromDefaultValue function will be called before the reflection property.
Because of that, we will detect the array type, but we do not set the collection boolean.

I found this because of janephp/janephp#425.

How to reproduce
You can find a reproducer on the following repository: https://github.com/Korbeil/property-info-collection

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.