Code Duplication    Length = 4-4 lines in 3 locations

includes/filerepo/file/LocalFile.php 3 locations

@@ 2332-2335 (lines=4) @@
2329
		}
2330
2331
		$result = $this->file->repo->fileExistsBatch( $files );
2332
		if ( in_array( null, $result, true ) ) {
2333
			return Status::newFatal( 'backend-fail-internal',
2334
				$this->file->repo->getBackend()->getName() );
2335
		}
2336
2337
		foreach ( $batch as $batchItem ) {
2338
			if ( $result[$batchItem[0]] ) {
@@ 2666-2669 (lines=4) @@
2663
		}
2664
2665
		$result = $this->file->repo->fileExistsBatch( $files );
2666
		if ( in_array( null, $result, true ) ) {
2667
			return Status::newFatal( 'backend-fail-internal',
2668
				$this->file->repo->getBackend()->getName() );
2669
		}
2670
2671
		foreach ( $triplets as $file ) {
2672
			if ( $result[$file[0]] ) {
@@ 2996-2999 (lines=4) @@
2993
		}
2994
2995
		$result = $this->file->repo->fileExistsBatch( $files );
2996
		if ( in_array( null, $result, true ) ) {
2997
			return Status::newFatal( 'backend-fail-internal',
2998
				$this->file->repo->getBackend()->getName() );
2999
		}
3000
3001
		$filteredTriplets = [];
3002
		foreach ( $triplets as $file ) {