Mapper/AbstractSwitchMapper.php
public function mapFormsToData($forms, &$data)
    {
        foreach ($forms as $name => $form) {
            if ($name === $this->switchName) {
                $data = $this->getDataForSwitchValue($form->getData(), $data);
                break;
            }
        }

        $this->mapper->mapFormsToData($forms, $data);
    }
public function mapFormsToData($forms, &$data)
    {
        foreach ($forms as $name => $form) {
            if ($name === $this->switchName) {
                $data = $this->getDataForSwitchValue($form->getData(), $data);
                break;
            }
        }

        $this->mapper->mapFormsToData($forms, $data);
    }
{@inheritdoc}