'string', 'iconCollection' => 'nullable|string|in:tfa,selfh,dashboardicons', ]; } /** * Prepare the data for validation. * * @codeCoverageIgnore * * @return void */ protected function prepareForValidation() { $this->merge([ 'service' => strip_tags(strval($this->service)), ]); } }