fix: psalm issue

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2024-05-03 14:39:41 +02:00
parent bd5dfd0b5f
commit 3593d9b631

View file

@ -345,7 +345,7 @@ class Manager implements IManager {
} catch(\OCP\Files\NotFoundException) {
$folder = $this->appData->newFolder('audio2text');
}
/** @var SimpleFile $file */
/** @var SimpleFile $simpleFile */
$simpleFile = $folder->newFile(time() . '-' . rand(0, 100000), $input['input']->getContent());
$id = $simpleFile->getId();
/** @var File $file */