aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SpeechToText/SpeechToTextManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/SpeechToText/SpeechToTextManager.php')
-rw-r--r--lib/private/SpeechToText/SpeechToTextManager.php4
1 files changed, 2 insertions, 2 deletions
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) {