Code Duplication    Length = 5-5 lines in 2 locations

lib/private/IntegrityCheck/Checker.php 2 locations

@@ 393-397 (lines=5) @@
390
		$differenceArray = [];
391
		foreach($differences as $filename => $hash) {
392
			// Check if file should not exist in the new signature table
393
			if(!array_key_exists($filename, $expectedHashes)) {
394
				$differenceArray['EXTRA_FILE'][$filename]['expected'] = '';
395
				$differenceArray['EXTRA_FILE'][$filename]['current'] = $hash;
396
				continue;
397
			}
398
399
			// Check if file is missing
400
			if(!array_key_exists($filename, $currentInstanceHashes)) {
@@ 400-404 (lines=5) @@
397
			}
398
399
			// Check if file is missing
400
			if(!array_key_exists($filename, $currentInstanceHashes)) {
401
				$differenceArray['FILE_MISSING'][$filename]['expected'] = $expectedHashes[$filename];
402
				$differenceArray['FILE_MISSING'][$filename]['current'] = '';
403
				continue;
404
			}
405
406
			// Check if hash does mismatch
407
			if($expectedHashes[$filename] !== $currentInstanceHashes[$filename]) {