Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 409-414 (lines=6) @@
406
407
        $column = $this;
408
409
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
410
            /** @var AbstractDisplayer $displayer */
411
            $displayer = new $abstract($value, $grid, $column, $this);
412
413
            return $displayer->display(...$arguments);
414
        });
415
    }
416
417
    /**
@@ 794-799 (lines=6) @@
791
            $grid   = $this->grid;
792
            $column = $this;
793
794
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
795
                /** @var AbstractDisplayer $displayer */
796
                $displayer = new $abstract($value, $grid, $column, $this);
797
798
                return $displayer->display(...$arguments);
799
            });
800
        }
801
802
        return $this;