Code Duplication    Length = 8-8 lines in 2 locations

Sources/Class-Graphics.php 2 locations

@@ 349-356 (lines=8) @@
346
		$this->m_nPixelRatio = ord(substr($lpData, 12, 1));
347
		$hdrLen = 13;
348
349
		if ($this->m_bGlobalClr)
350
		{
351
			$this->m_colorTable = new gif_color_table();
352
			if (!$this->m_colorTable->load(substr($lpData, $hdrLen), $this->m_nTableSize))
353
				return false;
354
355
			$hdrLen += 3 * $this->m_nTableSize;
356
		}
357
358
		return true;
359
	}
@@ 390-397 (lines=8) @@
387
		$this->m_nTableSize = 2 << ($b & 0x07);
388
		$hdrLen = 9;
389
390
		if ($this->m_bLocalClr)
391
		{
392
			$this->m_colorTable = new gif_color_table();
393
			if (!$this->m_colorTable->load(substr($lpData, $hdrLen), $this->m_nTableSize))
394
				return false;
395
396
			$hdrLen += 3 * $this->m_nTableSize;
397
		}
398
399
		return true;
400
	}