Symfony 6 compatibility - InputBag->get can't return an array

Created on 14 June 2024, 6 months ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

This was somewhat addressed in πŸ› Symfony 6 compatibility. Fixed , but not entirely. Partially my fault because I copied the description from πŸ› [2.0.x] $request->get may no longer return array as of Symfony 6.0 (BadRequestException) Fixed which didn't explain the issue entirely. Accepting arrays as default arguments was one problem, but the underlying issue is that InputBug->get can't return arrays anymore period. My original patch had fixed both issues but what was committed had only addressed the first problem of the default value being an array.

Proposed resolution

I rerolled my original patch to 2.1.0 to fix it.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jacobbell84

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024