Skip to content

Bug? in generated array shape in reference.php at handlers.channels.elements #564

@ThomasLandauer

Description

@ThomasLandauer

I think this passage in config/reference.php is wrong:

 *         channels?: string|array{
 *             type?: scalar|null,
 *             elements?: list<scalar|null>,
 *         },

According to the last line, this should be allowed:

'channels'     => [
    'elements' => [null]
]

but I'm getting:

Monolog configuration error: The logging channel "" assigned to the "filter_for_errors" handler does not exist.

See also symfony/symfony-docs#21626 for a ~related docs PR.

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