1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Static Analysis

This commit is contained in:
David Bomba 2024-06-18 10:25:56 +10:00
parent 006e819f3a
commit dfdfc41fee

View File

@ -306,9 +306,6 @@ class TemplateService
} catch(SyntaxError $e) {
nlog($e->getMessage());
throw ($e);
} catch(Error $e) {
nlog("error = " . $e->getMessage());
throw ($e);
} catch(RuntimeError $e) {
nlog("runtime = " . $e->getMessage());
throw ($e);
@ -318,8 +315,11 @@ class TemplateService
} catch(SecurityError $e) {
nlog("security = " . $e->getMessage());
throw ($e);
} catch(Error $e) {
nlog("error = " . $e->getMessage());
throw ($e);
}
$template = $template->render($this->data);
$f = $this->document->createDocumentFragment();