Skip to content

Commit 5ea7d99

Browse files
committed
refactor(openapi): remove redundant wrapper in SignFileController.php
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e217536 commit 5ea7d99

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

lib/Controller/SignFileController.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ public function signByFileId(int $fileId, string $method, array $elements = [],
9090
return $this->sign($method, $elements, $identifyValue, $token, $fileId, null, $async);
9191
}
9292

93-
public function signUsingFileId(int $fileId, string $method, array $elements = [], string $identifyValue = '', string $token = '', bool $async = false): DataResponse {
94-
return $this->signByFileId($fileId, $method, $elements, $identifyValue, $token, $async);
95-
}
96-
9793
/**
9894
* Sign a file using file UUID
9995
*
@@ -119,10 +115,6 @@ public function signBySignerUuid(string $uuid, string $method, array $elements =
119115
return $this->sign($method, $elements, $identifyValue, $token, null, $uuid, $async);
120116
}
121117

122-
public function signUsingUuid(string $uuid, string $method, array $elements = [], string $identifyValue = '', string $token = '', bool $async = false): DataResponse {
123-
return $this->signBySignerUuid($uuid, $method, $elements, $identifyValue, $token, $async);
124-
}
125-
126118
/**
127119
* @return DataResponse<Http::STATUS_OK, LibresignSignActionResponse, array{}>|DataResponse<Http::STATUS_UNPROCESSABLE_ENTITY, LibresignSignActionErrorResponse, array{}>
128120
*/
@@ -306,10 +298,6 @@ public function requestCodeBySignerUuid(string $uuid, ?string $identifyMethod, ?
306298
return $this->getCode($signRequest);
307299
}
308300

309-
public function getCodeUsingUuid(string $uuid, ?string $identifyMethod, ?string $signMethod, ?string $identify): DataResponse {
310-
return $this->requestCodeBySignerUuid($uuid, $identifyMethod, $signMethod, $identify);
311-
}
312-
313301
/**
314302
* Get code to sign the document using FileID
315303
*
@@ -337,10 +325,6 @@ public function requestCodeByFileId(int $fileId, ?string $identifyMethod, ?strin
337325
return $this->getCode($signRequest);
338326
}
339327

340-
public function getCodeUsingFileId(int $fileId, ?string $identifyMethod, ?string $signMethod, ?string $identify): DataResponse {
341-
return $this->requestCodeByFileId($fileId, $identifyMethod, $signMethod, $identify);
342-
}
343-
344328
/**
345329
* @todo validate if can request code
346330
* @return DataResponse<Http::STATUS_OK|Http::STATUS_UNPROCESSABLE_ENTITY, LibresignMessageResponse, array{}>

0 commit comments

Comments
 (0)