Code Duplication    Length = 5-5 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Reader/Excel2007.php 2 locations

@@ 294-298 (lines=5) @@
291
				$relsWorkbook->registerXPathNamespace("rel", "http://schemas.openxmlformats.org/package/2006/relationships");
292
293
				$worksheets = array();
294
				foreach ($relsWorkbook->Relationship as $ele) {
295
					if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") {
296
						$worksheets[(string) $ele["Id"]] = $ele["Target"];
297
					}
298
				}
299
300
				$xmlWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"));  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main");
301
				if ($xmlWorkbook->sheets) {
@@ 609-613 (lines=5) @@
606
					}
607
608
					$worksheets = array();
609
					foreach ($relsWorkbook->Relationship as $ele) {
610
						if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") {
611
							$worksheets[(string) $ele["Id"]] = $ele["Target"];
612
						}
613
					}
614
615
					$styles 	= array();
616
					$cellStyles = array();