Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 500-505 (lines=6) @@
497
498
        $column = $this;
499
500
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
501
            /** @var AbstractDisplayer $displayer */
502
            $displayer = new $abstract($value, $grid, $column, $this);
503
504
            return $displayer->display(...$arguments);
505
        });
506
    }
507
508
    /**
@@ 961-966 (lines=6) @@
958
            $grid = $this->grid;
959
            $column = $this;
960
961
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
962
                /** @var AbstractDisplayer $displayer */
963
                $displayer = new $abstract($value, $grid, $column, $this);
964
965
                return $displayer->display(...$arguments);
966
            });
967
        }
968
969
        return $this;