Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 2247-2251 (lines=5) @@
2244
			$p = 0;
2245
			for ($i = 0; $i < $bytes; $i++) {
2246
				$v = 0;
2247
				for ($j = 0; $j < 8; $j++) {
2248
					$v = $v << 1;
2249
					$v |= $bstream[$p];
2250
					$p++;
2251
				}
2252
				$data[$i] = $v;
2253
			}
2254
			if ($size & 7) {
@@ 2256-2260 (lines=5) @@
2253
			}
2254
			if ($size & 7) {
2255
				$v = 0;
2256
				for ($j = 0; $j < ($size & 7); $j++) {
2257
					$v = $v << 1;
2258
					$v |= $bstream[$p];
2259
					$p++;
2260
				}
2261
				$data[$bytes] = $v;
2262
			}
2263
			return $data;