From 8dee7d082ce3eacbb1bc2e0c4ed9d4333565eb5f Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 28 Jul 2023 16:25:42 +0200 Subject: [PATCH] Admin AI settings: Use ContainerInterface instead of IServerContainer Signed-off-by: Marcel Klehr (cherry picked from commit 7adb2ce819f556ffe6297412f7ef390089240fc8) --- apps/settings/lib/Settings/Admin/ArtificialIntelligence.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php index ab95358683e..eb1983690a5 100644 --- a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php +++ b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php @@ -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, ) { } -- 2.39.5