Update ParamsResolver.php

Coerce scalar args into array