Code Duplication    Length = 6-6 lines in 2 locations

src/Grid/Column.php 2 locations

@@ 393-398 (lines=6) @@
390
391
        $column = $this;
392
393
        return $this->display(function ($value) use ($grid, $column, $abstract, $arguments) {
394
            /** @var AbstractDisplayer $displayer */
395
            $displayer = new $abstract($value, $grid, $column, $this);
396
397
            return $displayer->display(...$arguments);
398
        });
399
    }
400
401
    /**
@@ 731-736 (lines=6) @@
728
            $grid = $this->grid;
729
            $column = $this;
730
731
            return $this->display(function ($value) use ($abstract, $grid, $column, $arguments) {
732
                /** @var AbstractDisplayer $displayer */
733
                $displayer = new $abstract($value, $grid, $column, $this);
734
735
                return $displayer->display(...$arguments);
736
            });
737
        }
738
739
        return $this;