Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 278-288 (lines=11) @@
275
	/**
276
	 * @param OutputInterface $output
277
	 */
278
	protected function presentStats(OutputInterface $output) {
279
		// Stop the timer
280
		$this->execTime += microtime(true);
281
		$output->writeln("");
282
283
		$headers = [
284
			'Folders', 'Files', 'Elapsed time'
285
		];
286
287
		$this->showSummary($headers, null, $output);
288
	}
289
290
	/**
291
	 * Shows a summary of operations

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

@@ 201-211 (lines=11) @@
198
	/**
199
	 * @param OutputInterface $output
200
	 */
201
	protected function presentStats(OutputInterface $output) {
202
		// Stop the timer
203
		$this->execTime += microtime(true);
204
		$output->writeln("");
205
206
		$headers = [
207
			'Folders', 'Files', 'Elapsed time'
208
		];
209
210
		$this->showSummary($headers, null, $output);
211
	}
212
213
	/**
214
	 * Shows a summary of operations