Code Duplication    Length = 6-6 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/_tcpdf_5.0.002/qrcode.php 2 locations

@@ 2576-2581 (lines=6) @@
2573
			if ($version >= 7) {
2574
				$vinf = $this->getVersionPattern($version);
2575
				$v = $vinf;
2576
				for ($x = 0; $x < 6; ++$x) {
2577
					for ($y = 0; $y < 3; ++$y) {
2578
						$frame[($width - 11) + $y][$x] = chr(0x88 | ($v & 1));
2579
						$v = $v >> 1;
2580
					}
2581
				}
2582
				$v = $vinf;
2583
				for ($y = 0; $y < 6; ++$y) {
2584
					for ($x = 0; $x < 3; ++$x) {
@@ 2583-2588 (lines=6) @@
2580
					}
2581
				}
2582
				$v = $vinf;
2583
				for ($y = 0; $y < 6; ++$y) {
2584
					for ($x = 0; $x < 3; ++$x) {
2585
						$frame[$y][$x + ($width - 11)] = chr(0x88 | ($v & 1));
2586
						$v = $v >> 1;
2587
					}
2588
				}
2589
			}
2590
			// and a little bit...
2591
			$frame[$width - 8][8] = "\x81";