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
    /**
@@ 1051-1056 (lines=6) @@
1048
            $grid = $this->grid;
1049
            $column = $this;
1050
1051
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1052
                /** @var AbstractDisplayer $displayer */
1053
                $displayer = new $abstract($value, $grid, $column, $this);
1054
1055
                return $displayer->display(...$arguments);
1056
            });
1057
        }
1058
1059
        return $this;