Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 412-417 (lines=6) @@
409
410
        $column = $this;
411
412
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
413
            /** @var AbstractDisplayer $displayer */
414
            $displayer = new $abstract($value, $grid, $column, $this);
415
416
            return $displayer->display(...$arguments);
417
        });
418
    }
419
420
    /**
@@ 870-875 (lines=6) @@
867
            $grid = $this->grid;
868
            $column = $this;
869
870
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
871
                /** @var AbstractDisplayer $displayer */
872
                $displayer = new $abstract($value, $grid, $column, $this);
873
874
                return $displayer->display(...$arguments);
875
            });
876
        }
877
878
        return $this;