Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 221-231 (lines=11) @@
218
	/**
219
	 * @param OutputInterface $output
220
	 */
221
	protected function presentStats(OutputInterface $output) {
222
		// Stop the timer
223
		$this->execTime += microtime(true);
224
		$output->writeln("");
225
226
		$headers = [
227
			'Folders', 'Files', 'Elapsed time'
228
		];
229
230
		$this->showSummary($headers, null, $output);
231
	}
232
233
	/**
234
	 * Shows a summary of operations

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

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