Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 434-439 (lines=6) @@
431
432
        $column = $this;
433
434
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
435
            /** @var AbstractDisplayer $displayer */
436
            $displayer = new $abstract($value, $grid, $column, $this);
437
438
            return $displayer->display(...$arguments);
439
        });
440
    }
441
442
    /**
@@ 699-704 (lines=6) @@
696
            $grid = $this->grid;
697
            $column = $this;
698
699
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
700
                /** @var AbstractDisplayer $displayer */
701
                $displayer = new $abstract($value, $grid, $column, $this);
702
703
                return $displayer->display(...$arguments);
704
            });
705
        }
706
707
        return $this;