Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 546-551 (lines=6) @@
543
544
        $column = $this;
545
546
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
547
            /** @var AbstractDisplayer $displayer */
548
            $displayer = new $abstract($value, $grid, $column, $this);
549
550
            return $displayer->display(...$arguments);
551
        });
552
    }
553
554
    /**
@@ 1075-1080 (lines=6) @@
1072
            $grid = $this->grid;
1073
            $column = $this;
1074
1075
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1076
                /** @var AbstractDisplayer $displayer */
1077
                $displayer = new $abstract($value, $grid, $column, $this);
1078
1079
                return $displayer->display(...$arguments);
1080
            });
1081
        }
1082
1083
        return $this;