aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
diff options
context:
space:
mode:
authorElizabeth Danzberger <lizzy7128@tutanota.de>2024-07-24 19:47:14 -0400
committerJulius Härtl <jus@bitgrid.net>2024-07-25 11:11:41 +0200
commitb749a89a338da6ad6d19839f18ea483ef43bb762 (patch)
tree625a0a42f76ed1ca8c21907156a693659f55df1d /apps/files/lib/Controller
parentbb34b0809c22bba1e83b99444e1007824221974b (diff)
downloadnextcloud-server-b749a89a338da6ad6d19839f18ea483ef43bb762.tar.gz
nextcloud-server-b749a89a338da6ad6d19839f18ea483ef43bb762.zip
fix: PHP formatting
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Diffstat (limited to 'apps/files/lib/Controller')
-rw-r--r--apps/files/lib/Controller/TemplateController.php3
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