Code Duplication    Length = 10-10 lines in 2 locations

lib/Page/Tester.php 1 location

@@ 322-331 (lines=10) @@
319
        return $value == $expectation ? 'OK' : 'ERR';
320
    }
321
322
    public function _prepare($t, $str)
323
    {
324
        $result = '';
325
326
        for ($i = 0; $i < 100; ++$i) {
327
            $result .= $str;
328
        }
329
330
        return array($this->add($t), $result);
331
    }
332
}
333

lib/Controller/Tester.php 1 location

@@ 354-363 (lines=10) @@
351
        return $value == $expectation ? 'OK' : 'ERR';
352
    }
353
354
    public function _prepare($t, $str)
355
    {
356
        $result = '';
357
358
        for ($i = 0; $i < 100; ++$i) {
359
            $result .= $str;
360
        }
361
362
        return array($this->add($t), $result);
363
    }
364
}
365