Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

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