Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 542-547 (lines=6) @@
539
540
        $column = $this;
541
542
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
543
            /** @var AbstractDisplayer $displayer */
544
            $displayer = new $abstract($value, $grid, $column, $this);
545
546
            return $displayer->display(...$arguments);
547
        });
548
    }
549
550
    /**
@@ 1006-1011 (lines=6) @@
1003
            $grid = $this->grid;
1004
            $column = $this;
1005
1006
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
1007
                /** @var AbstractDisplayer $displayer */
1008
                $displayer = new $abstract($value, $grid, $column, $this);
1009
1010
                return $displayer->display(...$arguments);
1011
            });
1012
        }
1013
1014
        return $this;