Code Duplication    Length = 3-3 lines in 2 locations

tests/_support/Page/Widget/Grid.php 2 locations

@@ 241-243 (lines=3) @@
238
         *  $whereNeedle += 2 && $i = 1 because xpath elements starting from 1.
239
         */
240
        $arrayForSort = [];
241
        for ($i = 1; $i <= $count; ++$i) {
242
            $arrayForSort[$i] = $this->tester->grabTextFrom("//tbody/tr[$i]/td[$whereNeedle]");
243
        }
244
        /**
245
         *  After sort() function arrayForSort start index = 0, but xpath elements starting from 1.
246
         */
@@ 248-250 (lines=3) @@
245
         *  After sort() function arrayForSort start index = 0, but xpath elements starting from 1.
246
         */
247
        sort($arrayForSort, SORT_NATURAL | SORT_FLAG_CASE);
248
        for ($i = 1; $i <= $count; ++$i) {
249
            $this->tester->see($arrayForSort[$i - 1], "//tbody/tr[$i]/td[$whereNeedle]");
250
        }
251
    }
252
}
253