Update BatchParamsGenerator.php

[skip ci]