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
    /**
@@ 1092-1097 (lines=6) @@
1089
            $grid = $this->grid;
1090
            $column = $this;
1091
1092
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1093
                /** @var AbstractDisplayer $displayer */
1094
                $displayer = new $abstract($value, $grid, $column, $this);
1095
1096
                return $displayer->display(...$arguments);
1097
            });
1098
        }
1099
1100
        return $this;