0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-03 13:30:32 +00:00
nextcloud_server/lib/private/Migration/NullOutput.php
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00

36 lines
636 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OC\Migration;
use OCP\Migration\IOutput;
/**
* Class NullOutput
*
* A simple IOutput that discards all output
*
* @package OC\Migration
*/
class NullOutput implements IOutput {
public function debug(string $message): void {
}
public function info($message): void {
}
public function warning($message): void {
}
public function startProgress($max = 0): void {
}
public function advance($step = 1, $description = ''): void {
}
public function finishProgress(): void {
}
}