Code Duplication    Length = 8-8 lines in 2 locations

src/Grid/Filter.php 1 location

@@ 481-488 (lines=8) @@
478
     *
479
     * @return $this
480
     */
481
    public function column($width, \Closure $closure)
482
    {
483
        $width = $width < 1 ? round(12 * $width) : $width;
484
485
        $this->layout->column($width, $closure);
486
487
        return $this;
488
    }
489
490
    /**
491
     * Expand filter container.

src/Form.php 1 location

@@ 1433-1440 (lines=8) @@
1430
     *
1431
     * @return $this
1432
     */
1433
    public function column($width, \Closure $closure): self
1434
    {
1435
        $width = $width < 1 ? round(12 * $width) : $width;
1436
1437
        $this->layout->column($width, $closure);
1438
1439
        return $this;
1440
    }
1441
1442
    /**
1443
     * Initialize filter layout.