Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 351-356 (lines=6) @@
348
349
        $column = $this;
350
351
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
352
            /** @var AbstractDisplayer $displayer */
353
            $displayer = new $abstract($value, $grid, $column, $this);
354
355
            return $displayer->display(...$arguments);
356
        });
357
    }
358
359
    /**
@@ 661-666 (lines=6) @@
658
            $grid = $this->grid;
659
            $column = $this;
660
661
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
662
                /** @var AbstractDisplayer $displayer */
663
                $displayer = new $abstract($value, $grid, $column, $this);
664
665
                return $displayer->display(...$arguments);
666
            });
667
        }
668
669
        return $this;