Skip to content

fix(phpstan): added exception handling for missing html2pdf module in OutputTemplate

Henning Leutz requested to merge next-3.x into main

In OutputTemplate.php, a check has been added to ensure the existence of the 'QUI\HtmlToPdf\Document' class before using it. If the class does not exist, an error message is logged, and an exception is thrown indicating that the html2pdf module is missing. This fix is aimed at avoiding potential errors that may occur due to the absence of the required module.

Merge Request-Berichte

Lade