/** * @inheritdoc */ public function sanitize($input) { $input = NumericHelper::toNumeric($input); return $input < 0 ? 0 : $input; }