I have pushed code based on @ultimike and @nico059's approach using an abstract class and the tests appear to pass now. I'm assuming there were some random Functional test failures but they pass once I rerun the pipeline.
anand48 β made their first commit to this issueβs fork.
$get_params->all('page')
throws a BadRequestException error in some instances.
The all() method in the ParameterBag class in Symfony checks if the value associated with the key is an array, If the value is not an array it throws a BadRequestException
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Unexpected value for parameter "page": expecting "array", got "string"
I'm adding an updated patch to set the $current_page $current_page = $get_params->all()['page'];