From 9649f91892beaf663c5615a2cffdc6a8d5a5a1a7 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 18 Apr 2023 15:24:14 +0200 Subject: Update lib/private/SpeechToText/SpeechToTextManager.php Co-authored-by: Julien Veyssier Signed-off-by: Marcel Klehr --- lib/private/SpeechToText/SpeechToTextManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/private/SpeechToText/SpeechToTextManager.php b/lib/private/SpeechToText/SpeechToTextManager.php index f147b245ea8..9ab53a8013d 100644 --- a/lib/private/SpeechToText/SpeechToTextManager.php +++ b/lib/private/SpeechToText/SpeechToTextManager.php @@ -68,8 +68,8 @@ class SpeechToTextManager implements ISpeechToTextManager { $this->providers = []; - foreach ($context->getSpeechToTextProviders() as $providerRegistration) { - $class = $providerRegistration->getService(); + foreach ($context->getSpeechToTextProviders() as $providerServiceRegistration) { + $class = $providerServiceRegistration->getService(); try { $this->providers[$class] = $this->serverContainer->get($class); } catch (NotFoundExceptionInterface|ContainerExceptionInterface|Throwable $e) { -- cgit v1.2.3