Code Duplication    Length = 4-4 lines in 2 locations

src/BitArray/BitArray.php 2 locations

@@ 777-780 (lines=4) @@
774
		{
775
			$min = min($this->size, $size);
776
777
			for ($i = $this->size - 1; $i >= $min; $i--)
778
			{
779
				$this[$i] = $this[$i - $min];
780
			}
781
782
			for ($i = 0; $i < $min; $i++)
783
			{
@@ 791-794 (lines=4) @@
788
		{
789
			$min = min($this->size, -$size);
790
791
			for ($i = 0; $i < $this->size - $min; $i++)
792
			{
793
				$this[$i] = $this[$i + $min];
794
			}
795
796
			for ($i = $this->size - $min; $i < $this->size; $i++)
797
			{