Code Duplication    Length = 4-4 lines in 2 locations

src/BitArray/BitArray.php 2 locations

@@ 319-322 (lines=4) @@
316
	{
317
		if ($offset > $index)
318
		{
319
			for ($i = 0; $i < $size; $i++)
320
			{
321
				$this[$i + $index] = $bits[$i + $offset];
322
			}
323
		}
324
		else
325
		{
@@ 326-329 (lines=4) @@
323
		}
324
		else
325
		{
326
			for ($i = $size - 1; $i >= 0; $i--)
327
			{
328
				$this[$i + $index] = $bits[$i + $offset];
329
			}
330
		}
331
332
		return $this;