Code Duplication    Length = 6-6 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Calculation/Statistical.php 2 locations

@@ 71-76 (lines=6) @@
68
69
		$array1 = PHPExcel_Calculation_Functions::flattenArray($array1);
70
		$array2 = PHPExcel_Calculation_Functions::flattenArray($array2);
71
		foreach($array1 as $key => $value) {
72
			if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
73
				unset($array1[$key]);
74
				unset($array2[$key]);
75
			}
76
		}
77
		foreach($array2 as $key => $value) {
78
			if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
79
				unset($array1[$key]);
@@ 77-82 (lines=6) @@
74
				unset($array2[$key]);
75
			}
76
		}
77
		foreach($array2 as $key => $value) {
78
			if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
79
				unset($array1[$key]);
80
				unset($array2[$key]);
81
			}
82
		}
83
		$array1 = array_merge($array1);
84
		$array2 = array_merge($array2);
85