Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 331-336 (lines=6) @@
328
329
        $column = $this;
330
331
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
332
            /** @var AbstractDisplayer $displayer */
333
            $displayer = new $abstract($value, $grid, $column, $this);
334
335
            return $displayer->display(...$arguments);
336
        });
337
    }
338
339
    /**
@@ 621-626 (lines=6) @@
618
            $grid = $this->grid;
619
            $column = $this;
620
621
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
622
                /** @var AbstractDisplayer $displayer */
623
                $displayer = new $abstract($value, $grid, $column, $this);
624
625
                return $displayer->display(...$arguments);
626
            });
627
        }
628
629
        return $this;