Skip to content

Commit e71f53a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Service/Install/InstallService.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function setResource(string $resource): self {
310310
public function installJava(?bool $async = false): void {
311311
$signatureEngine = $this->appConfig->getAppValue('signature_engine', 'jsignpdf');
312312
if ($signatureEngine !== 'jsignpdf') {
313-
return [];
313+
return;
314314
}
315315
$this->setResource('java');
316316
if ($async) {
@@ -384,7 +384,7 @@ public function uninstallJava(): void {
384384
public function installJSignPdf(?bool $async = false): void {
385385
$signatureEngine = $this->appConfig->getAppValue('signature_engine', 'jsignpdf');
386386
if ($signatureEngine !== 'jsignpdf') {
387-
return [];
387+
return;
388388
}
389389
if (!extension_loaded('zip')) {
390390
throw new RuntimeException('Zip extension is not available');

0 commit comments

Comments
 (0)