API Platform version(s) affected: 2.5.7
Description
Currently when user submit unexpected query param type like: &date[after][][][]=1 fatal error will be throw because it's wrong type when pass it to andWhere method.
How to reproduce
Submit query param date[after][][][]=1
Possible Solution
Allow mixed type of value arg at DateFilter#L131 and change exception type to \Throwable at DateFilter#L136.
API Platform version(s) affected: 2.5.7
Description
Currently when user submit unexpected query param type like:
&date[after][][][]=1fatal error will be throw because it's wrong type when pass it toandWheremethod.How to reproduce
Submit query param
date[after][][][]=1Possible Solution
Allow mixed type of
valuearg at DateFilter#L131 and change exception type to\Throwableat DateFilter#L136.