Code Duplication    Length = 7-7 lines in 2 locations

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

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