Code Duplication    Length = 8-8 lines in 2 locations

src/Bundle/GridBundle/Behat/Context/GridWebContext.php 2 locations

@@ 126-133 (lines=8) @@
123
    /**
124
     * @param string[] $columns
125
     */
126
    public function assertHeaders(array $columns)
127
    {
128
        $offset = $this->hastBatch() ? 2 : 1;
129
130
        foreach ($columns as $column => $value) {
131
            $this->assertHeader($column + $offset, $value);
132
        }
133
    }
134
135
    /**
136
     * @param string|int $header
@@ 178-185 (lines=8) @@
175
     * @param int      $row
176
     * @param string[] $columns
177
     */
178
    public function assertRow($row, array $columns)
179
    {
180
        $offset = $this->hastBatch() ? 2 : 1;
181
182
        foreach ($columns as $column => $value) {
183
            $this->assertCell($row, $column + $offset, $value);
184
        }
185
    }
186
187
    /**
188
     * @param string[] $header