Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

@@ 318-329 (lines=12) @@
315
     *
316
     * @return void
317
     */
318
    public function fill($data)
319
    {
320
        // Field value is already setted.
321
//        if (!is_null($this->value)) {
322
//            return;
323
//        }
324
325
        if (is_array($this->column)) {
326
            foreach ($this->column as $key => $column) {
327
                $this->value[$key] = array_get($data, $column);
328
            }
329
330
            return;
331
        }
332
@@ 343-354 (lines=12) @@
340
     *
341
     * @return void
342
     */
343
    public function setOriginal($data)
344
    {
345
        if (is_array($this->column)) {
346
            foreach ($this->column as $key => $column) {
347
                $this->original[$key] = array_get($data, $column);
348
            }
349
350
            return;
351
        }
352
353
        $this->original = array_get($data, $this->column);
354
    }
355
356
    /**
357
     * @param Form $form