1313use OCA \Libresign \Db \File ;
1414use OCA \Libresign \Db \FileMapper ;
1515use OCA \Libresign \Db \IdentifyMethod ;
16+ use OCA \Libresign \Db \SignRequest ;
17+ use OCA \Libresign \Db \FileElement ;
1618use OCA \Libresign \Db \SignRequestMapper ;
1719use OCA \Libresign \Enum \SignatureFlow ;
1820use OCA \Libresign \ResponseDefinitions ;
1921use OCA \Libresign \Service \FileElementService ;
2022use OCA \Libresign \Service \IdentifyMethodService ;
23+ use OCP \AppFramework \Db \Entity ;
2124use OCP \IAppConfig ;
2225use OCP \IL10N ;
2326use OCP \IURLGenerator ;
@@ -84,6 +87,10 @@ public function formatSingleFile(IUser $user, File $file): array {
8487 }
8588
8689 /**
90+ * @param File[] $files
91+ * @param SignRequest[] $signers
92+ * @param array<int, array<string, Entity&IdentifyMethod>> $identifyMethods
93+ * @param array<int, FileElement[]> $visibleElements
8794 * @return list<LibresignFileDetail>
8895 */
8996 private function associateAllAndFormat (
@@ -105,6 +112,11 @@ private function associateAllAndFormat(
105112 * Format a single file with its signers, identifyMethods and visibleElements.
106113 * Core formatting used by list and single file operations.
107114 *
115+ * @param File $fileEntity
116+ * @param SignRequest[] $signers
117+ * @param array<int, array<string, Entity&IdentifyMethod>> $identifyMethods
118+ * @param array<int, FileElement[]> $visibleElements
119+ * @param IUser $user
108120 * @return LibresignFileDetail
109121 * @psalm-suppress MoreSpecificReturnType
110122 */
0 commit comments