Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 422-427 (lines=6) @@
419
420
        $column = $this;
421
422
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
423
            /** @var AbstractDisplayer $displayer */
424
            $displayer = new $abstract($value, $grid, $column, $this);
425
426
            return $displayer->display(...$arguments);
427
        });
428
    }
429
430
    /**
@@ 898-903 (lines=6) @@
895
            $grid = $this->grid;
896
            $column = $this;
897
898
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
899
                /** @var AbstractDisplayer $displayer */
900
                $displayer = new $abstract($value, $grid, $column, $this);
901
902
                return $displayer->display(...$arguments);
903
            });
904
        }
905
906
        return $this;