$data) { $this->validationError($field, 'error'); } return null; } /** * Allow us to access the form for test purposes. * * @return Form|null */ public function getForm(): ?Form { return $this->form; } }