Code Duplication    Length = 8-8 lines in 2 locations

Grid/AbstractGrid.php 1 location

@@ 327-334 (lines=8) @@
324
     * @param string $name
325
     * @return ColumnInterface
326
     */
327
    public function get($name)
328
    {
329
        if (isset($this->children[$name])) {
330
            return $this->children[$name];
331
        }
332
333
        throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name));
334
    }
335
336
    /**
337
     * @param string $name

Grid/GridBuilder.php 1 location

@@ 81-88 (lines=8) @@
78
     * @param string $name
79
     * @return ColumnInterface
80
     */
81
    public function get($name)
82
    {
83
        if (isset($this->children[$name])) {
84
            return $this->children[$name];
85
        }
86
87
        throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name));
88
    }
89
90
    /**
91
     * @param string $name