Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

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