Code Duplication    Length = 4-4 lines in 2 locations

src/BitArray/BitArray.php 2 locations

@@ 353-356 (lines=4) @@
350
	{
351
		if ($offset > $index)
352
		{
353
			for ($i = 0; $i < $size; $i++)
354
			{
355
				$this[$i + $index] = $bits[$i + $offset];
356
			}
357
		}
358
		else
359
		{
@@ 360-363 (lines=4) @@
357
		}
358
		else
359
		{
360
			for ($i = $size - 1; $i >= 0; $i--)
361
			{
362
				$this[$i + $index] = $bits[$i + $offset];
363
			}
364
		}
365
366
		return $this;