Update lib/private/SpeechToText/SpeechToTextManager.php

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/37674/head
Marcel Klehr 2 years ago committed by GitHub
parent bef4cf0ad1
commit 9649f91892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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) {

Loading…
Cancel
Save