Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

@@ 328-339 (lines=12) @@
325
     *
326
     * @return void
327
     */
328
    public function fill($data)
329
    {
330
        // Field value is already setted.
331
//        if (!is_null($this->value)) {
332
//            return;
333
//        }
334
335
        if (is_array($this->column)) {
336
            foreach ($this->column as $key => $column) {
337
                $this->value[$key] = array_get($data, $column);
338
            }
339
340
            return;
341
        }
342
@@ 353-364 (lines=12) @@
350
     *
351
     * @return void
352
     */
353
    public function setOriginal($data)
354
    {
355
        if (is_array($this->column)) {
356
            foreach ($this->column as $key => $column) {
357
                $this->original[$key] = array_get($data, $column);
358
            }
359
360
            return;
361
        }
362
363
        $this->original = array_get($data, $this->column);
364
    }
365
366
    /**
367
     * @param Form $form