Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 545-550 (lines=6) @@
542
543
        $column = $this;
544
545
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
546
            /** @var AbstractDisplayer $displayer */
547
            $displayer = new $abstract($value, $grid, $column, $this);
548
549
            return $displayer->display(...$arguments);
550
        });
551
    }
552
553
    /**
@@ 1031-1036 (lines=6) @@
1028
            $grid = $this->grid;
1029
            $column = $this;
1030
1031
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1032
                /** @var AbstractDisplayer $displayer */
1033
                $displayer = new $abstract($value, $grid, $column, $this);
1034
1035
                return $displayer->display(...$arguments);
1036
            });
1037
        }
1038
1039
        return $this;