Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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