Skip to content

Commit

Permalink
Fix deprecation: Retrieving a non-string value from "Symfony\Componen…
Browse files Browse the repository at this point in the history
…t\HttpFoundation\InputBag::get()" is deprecated
  • Loading branch information
Tony Vermeiren committed Aug 25, 2020
1 parent 4899337 commit dcb7eaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Parameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public static function fromParameterBag(ParameterBag $parameterBag, Columns $col
$parameters = new Parameters();

$parameters->draw = $parameterBag->get('draw');
$parameters->search = $parameterBag->get('search');
$parameters->search = $parameterBag->all('search');
$parameters->start = $parameterBag->get('start');
$parameters->length = $parameterBag->get('length');
$parameters->order = $parameterBag->get('order');
$parameters->filters = $parameterBag->get('filters');
$parameters->order = $parameterBag->all('order');
$parameters->filters = $parameterBag->all('filters');
$parameters->columns = $columns;
$parameters->attributes = $attributes;

Expand Down

0 comments on commit dcb7eaa

Please sign in to comment.