Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amended reporters to no longer throw non-scalar value within symfony6 #279

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Amended reporters to no longer throw non-scalar value within symfony6 #279

merged 1 commit into from
Mar 17, 2023

Conversation

Wordlesschunk
Copy link

Currently when trying to add a reporter within the config in symfony6 I was dealt with the error 'Input value "reporters" contains a non-scalar value.'
I found that changing
$reporters = $request->query->get('reporters') ?? [];
to
$reporters = $request->query->all('reporters') ?? [];
resolved this issue.

@kbond kbond merged commit 8dce49c into liip:master Mar 17, 2023
@kbond
Copy link
Collaborator

kbond commented Mar 17, 2023

Thanks!

@kbond kbond mentioned this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants