mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Admin AI settings: Use ContainerInterface instead of IServerContainer
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7adb2ce819)
This commit is contained in:
parent
3d9a588c77
commit
8dee7d082c
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,6 @@ use OCP\AppFramework\Http\TemplateResponse;
|
|||
use OCP\AppFramework\Services\IInitialState;
|
||||
use OCP\IConfig;
|
||||
use OCP\IL10N;
|
||||
use OCP\IServerContainer;
|
||||
use OCP\Settings\IDelegatedSettings;
|
||||
use OCP\SpeechToText\ISpeechToTextManager;
|
||||
use OCP\TextProcessing\IManager;
|
||||
|
|
@ -37,6 +36,7 @@ use OCP\TextProcessing\IProvider;
|
|||
use OCP\TextProcessing\ITaskType;
|
||||
use OCP\Translation\ITranslationManager;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
class ArtificialIntelligence implements IDelegatedSettings {
|
||||
|
|
@ -47,7 +47,7 @@ class ArtificialIntelligence implements IDelegatedSettings {
|
|||
private ITranslationManager $translationManager,
|
||||
private ISpeechToTextManager $sttManager,
|
||||
private IManager $textProcessingManager,
|
||||
private IServerContainer $container,
|
||||
private ContainerInterface $container,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue