Code Duplication    Length = 12-12 lines in 2 locations

src/Form/Field.php 2 locations

@@ 301-312 (lines=12) @@
298
     *
299
     * @return void
300
     */
301
    public function fill($data)
302
    {
303
        // Field value is already setted.
304
//        if (!is_null($this->value)) {
305
//            return;
306
//        }
307
308
        if (is_array($this->column)) {
309
            foreach ($this->column as $key => $column) {
310
                $this->value[$key] = array_get($data, $column);
311
            }
312
313
            return;
314
        }
315
@@ 326-337 (lines=12) @@
323
     *
324
     * @return void
325
     */
326
    public function setOriginal($data)
327
    {
328
        if (is_array($this->column)) {
329
            foreach ($this->column as $key => $column) {
330
                $this->original[$key] = array_get($data, $column);
331
            }
332
333
            return;
334
        }
335
336
        $this->original = array_get($data, $this->column);
337
    }
338
339
    /**
340
     * @param Form $form