diff options
Diffstat (limited to 'apps/files/lib/Controller/TemplateController.php')
-rw-r--r-- | apps/files/lib/Controller/TemplateController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/TemplateController.php b/apps/files/lib/Controller/TemplateController.php index f4770cb5623..bdc4fd7f8a0 100644 --- a/apps/files/lib/Controller/TemplateController.php +++ b/apps/files/lib/Controller/TemplateController.php @@ -21,6 +21,7 @@ use OCP\IRequest; /** * @psalm-import-type FilesTemplateFile from ResponseDefinitions * @psalm-import-type FilesTemplateFileCreator from ResponseDefinitions + * @psalm-import-type FilesTemplateField from ResponseDefinitions */ class TemplateController extends OCSController { protected $templateManager; @@ -51,7 +52,7 @@ class TemplateController extends OCSController { * @param string $filePath Path of the file * @param string $templatePath Name of the template * @param string $templateType Type of the template - * @param array $templateFields Fields of the template + * @param FilesTemplateField[] $templateFields Fields of the template * * @return DataResponse<Http::STATUS_OK, FilesTemplateFile, array{}> * @throws OCSForbiddenException Creating template is not allowed |