diff options
Diffstat (limited to 'lib/public/SpeechToText/ISpeechToTextManager.php')
-rw-r--r-- | lib/public/SpeechToText/ISpeechToTextManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/SpeechToText/ISpeechToTextManager.php b/lib/public/SpeechToText/ISpeechToTextManager.php index 167017ead60..eff00ec0fa1 100644 --- a/lib/public/SpeechToText/ISpeechToTextManager.php +++ b/lib/public/SpeechToText/ISpeechToTextManager.php @@ -47,21 +47,21 @@ interface ISpeechToTextManager { * belonging to your transcription request. * * @param File $file The media file to transcribe - * @param string $userId The user that triggered this request (only for convenience, will be available on the TranscriptEvents) + * @param ?string $userId The user that triggered this request (only for convenience, will be available on the TranscriptEvents) * @param string $appId The app that triggered this request (only for convenience, will be available on the TranscriptEvents) - * @since 27.0.0 * @throws PreConditionNotMetException If no provider was registered but this method was still called * @throws InvalidArgumentException If the file could not be found or is not of a supported type + * @since 27.0.0 */ public function scheduleFileTranscription(File $file, ?string $userId, string $appId): void; /** - * @since 27.0.0 * @param File $file The media file to transcribe * @returns string The transcription of the passed media file * @throws PreConditionNotMetException If no provider was registered but this method was still called * @throws InvalidArgumentException If the file could not be found or is not of a supported type * @throws RuntimeException If the transcription failed for other reasons + * @since 27.0.0 */ public function transcribeFile(File $file): string; } |