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 @@ -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 ' );
You can’t perform that action at this time.
0 commit comments