aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-18 15:24:14 +0200
committerGitHub <noreply@github.com>2023-04-18 15:24:14 +0200
commit9649f91892beaf663c5615a2cffdc6a8d5a5a1a7 (patch)
treecfa6abb14e49ceec4f81f2f86ee44f8a7c525e44 /lib
parentbef4cf0ad18c1ce4f31e6763835c6fe3d81dbf8a (diff)
downloadnextcloud-server-9649f91892beaf663c5615a2cffdc6a8d5a5a1a7.tar.gz
nextcloud-server-9649f91892beaf663c5615a2cffdc6a8d5a5a1a7.zip
Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-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) {