nextcloud/tests/lib/Comments/FakeFactory.php
Côme Chilliet 9680004b58
chore: Remove almost all uses of deprecated IServerContainer in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-05-11 16:22:22 +02:00

24 lines
525 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace Test\Comments;
use OCP\Comments\ICommentsManagerFactory;
use Psr\Container\ContainerInterface;
/**
* Class FakeFactory
*/
class FakeFactory implements ICommentsManagerFactory {
public function __construct(ContainerInterface $serverContainer) {
}
#[\Override]
public function getManager() {
return new FakeManager();
}
}