Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 318-323 (lines=6) @@
315
316
        $column = $this;
317
318
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
319
            /** @var AbstractDisplayer $displayer */
320
            $displayer = new $abstract($value, $grid, $column, $this);
321
322
            return $displayer->display(...$arguments);
323
        });
324
    }
325
326
    /**
@@ 608-613 (lines=6) @@
605
            $grid = $this->grid;
606
            $column = $this;
607
608
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
609
                /** @var AbstractDisplayer $displayer */
610
                $displayer = new $abstract($value, $grid, $column, $this);
611
612
                return $displayer->display(...$arguments);
613
            });
614
        }
615
616
        return $this;