Skip to content

Commit afc84b4

Browse files
committed
style: fix code style (phpcs)
Remove unused import and fix PHPDoc formatting: - Remove unused DocMdpLevel import from JSignPdfHandler - Fix trailing whitespace in AdminController PHPDoc Signed-off-by: Vitor Mattos <[email protected]>
1 parent be196ec commit afc84b4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Controller/AdminController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ public function footerTemplatePreviewPdf(string $template = '', int $width = 595
867867
* @param bool $enabled Enable or disable DocMDP certification
868868
* @param int $defaultLevel Default DocMDP level (0-3): 0=none, 1=no changes, 2=form fill, 3=form fill + annotations
869869
* @return DataResponse<Http::STATUS_OK, array{message: string}, array{}>|DataResponse<Http::STATUS_BAD_REQUEST, array{error: string}, array{}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR, array{error: string}, array{}>
870-
*
870+
*
871871
* 200: Configuration saved successfully
872872
* 400: Invalid DocMDP level provided
873873
* 500: Internal server error

lib/Handler/SignEngine/JSignPdfHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Imagick;
1212
use ImagickPixel;
1313
use OCA\Libresign\AppInfo\Application;
14-
use OCA\Libresign\Enum\DocMdpLevel;
1514
use OCA\Libresign\Exception\LibresignException;
1615
use OCA\Libresign\Handler\CertificateEngine\CertificateEngineFactory;
1716
use OCA\Libresign\Helper\JavaHelper;

0 commit comments

Comments
 (0)