Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 544-549 (lines=6) @@
541
542
        $column = $this;
543
544
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
545
            /** @var AbstractDisplayer $displayer */
546
            $displayer = new $abstract($value, $grid, $column, $this);
547
548
            return $displayer->display(...$arguments);
549
        });
550
    }
551
552
    /**
@@ 1128-1133 (lines=6) @@
1125
            $grid = $this->grid;
1126
            $column = $this;
1127
1128
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1129
                /** @var AbstractDisplayer $displayer */
1130
                $displayer = new $abstract($value, $grid, $column, $this);
1131
1132
                return $displayer->display(...$arguments);
1133
            });
1134
        }
1135
1136
        return $this;