Code Duplication    Length = 11-11 lines in 2 locations

apps/files/lib/Command/Scan.php 1 location

@@ 292-302 (lines=11) @@
289
	/**
290
	 * @param OutputInterface $output
291
	 */
292
	protected function presentStats(OutputInterface $output) {
293
		// Stop the timer
294
		$this->execTime += microtime(true);
295
		$output->writeln("");
296
297
		$headers = [
298
			'Folders', 'Files', 'Elapsed time'
299
		];
300
301
		$this->showSummary($headers, null, $output);
302
	}
303
304
	/**
305
	 * Shows a summary of operations

apps/files/lib/Command/ScanAppData.php 1 location

@@ 213-223 (lines=11) @@
210
	/**
211
	 * @param OutputInterface $output
212
	 */
213
	protected function presentStats(OutputInterface $output) {
214
		// Stop the timer
215
		$this->execTime += microtime(true);
216
		$output->writeln("");
217
218
		$headers = [
219
			'Folders', 'Files', 'Elapsed time'
220
		];
221
222
		$this->showSummary($headers, null, $output);
223
	}
224
225
	/**
226
	 * Shows a summary of operations