x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.

Code Duplication    Length = 7-7 lines in 2 locations

src/_support/Page/AbstractTraits/FormTrait.php 2 locations

@@ 120-126 (lines=7) @@
117
     * @param null $form
118
     * @return mixed|null
119
     */
120
    public function selectOptionForm($field, $value, $form = null)
121
    {
122
        $form = $this->initFormName($form);
123
        $path = $this->getFieldFormPath($field, $form);
124
125
        return $this->getTester()->selectOption($path, $value);
126
    }
127
128
    /**
129
     * @param $field
@@ 157-163 (lines=7) @@
154
     * @param null $form
155
     * @return mixed|null
156
     */
157
    public function fillFieldForm($field, $value, $form = null)
158
    {
159
        $form = $this->initFormName($form);
160
        $path = $this->getFieldFormPath($field, $form);
161
162
        return $this->getTester()->fillField($path, $value);
163
    }
164
165
    /**
166
     * @param null $name