Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

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