Skip to content

Commit c78d966

Browse files
committed
fix: psalm errors
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 0d4f3e6 commit c78d966

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Service/Install/InstallService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function setResource(string $resource): self {
326326
public function installJava(?bool $async = false): void {
327327
$signatureEngine = $this->appConfig->getAppValue('signature_engine', 'jsignpdf');
328328
if ($signatureEngine !== 'jsignpdf') {
329-
return [];
329+
return;
330330
}
331331
$this->setResource('java');
332332
if ($async) {
@@ -400,7 +400,7 @@ public function uninstallJava(): void {
400400
public function installJSignPdf(?bool $async = false): void {
401401
$signatureEngine = $this->appConfig->getAppValue('signature_engine', 'jsignpdf');
402402
if ($signatureEngine !== 'jsignpdf') {
403-
return [];
403+
return;
404404
}
405405
if (!extension_loaded('zip')) {
406406
throw new RuntimeException('Zip extension is not available');

0 commit comments

Comments
 (0)