Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

@@ 309-320 (lines=12) @@
306
     *
307
     * @return void
308
     */
309
    public function fill($data)
310
    {
311
        // Field value is already setted.
312
//        if (!is_null($this->value)) {
313
//            return;
314
//        }
315
316
        if (is_array($this->column)) {
317
            foreach ($this->column as $key => $column) {
318
                $this->value[$key] = array_get($data, $column);
319
            }
320
321
            return;
322
        }
323
@@ 334-345 (lines=12) @@
331
     *
332
     * @return void
333
     */
334
    public function setOriginal($data)
335
    {
336
        if (is_array($this->column)) {
337
            foreach ($this->column as $key => $column) {
338
                $this->original[$key] = array_get($data, $column);
339
            }
340
341
            return;
342
        }
343
344
        $this->original = array_get($data, $this->column);
345
    }
346
347
    /**
348
     * @param Form $form