File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' );
You can’t perform that action at this time.
0 commit comments