Code Duplication    Length = 4-4 lines in 3 locations

includes/filerepo/file/LocalFile.php 3 locations

@@ 2324-2327 (lines=4) @@
2321
		}
2322
2323
		$result = $this->file->repo->fileExistsBatch( $files );
2324
		if ( in_array( null, $result, true ) ) {
2325
			return Status::newFatal( 'backend-fail-internal',
2326
				$this->file->repo->getBackend()->getName() );
2327
		}
2328
2329
		foreach ( $batch as $batchItem ) {
2330
			if ( $result[$batchItem[0]] ) {
@@ 2658-2661 (lines=4) @@
2655
		}
2656
2657
		$result = $this->file->repo->fileExistsBatch( $files );
2658
		if ( in_array( null, $result, true ) ) {
2659
			return Status::newFatal( 'backend-fail-internal',
2660
				$this->file->repo->getBackend()->getName() );
2661
		}
2662
2663
		foreach ( $triplets as $file ) {
2664
			if ( $result[$file[0]] ) {
@@ 2987-2990 (lines=4) @@
2984
		}
2985
2986
		$result = $this->file->repo->fileExistsBatch( $files );
2987
		if ( in_array( null, $result, true ) ) {
2988
			return Status::newFatal( 'backend-fail-internal',
2989
				$this->file->repo->getBackend()->getName() );
2990
		}
2991
2992
		$filteredTriplets = array();
2993
		foreach ( $triplets as $file ) {