File tree Expand file tree Collapse file tree
library/Icinga/Application/Hook Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Icinga \Application \Hook ;
99use Icinga \Application \Logger ;
1010use Icinga \Exception \IcingaException ;
11+ use ipl \Html \ValidHtml ;
1112use RuntimeException ;
1213use Throwable ;
1314
@@ -43,15 +44,17 @@ public static function first()
4344 /**
4445 * Get whether PDF export is supported
4546 *
46- * @return bool
47+ * @return bool
4748 */
4849 abstract public function isSupported ();
4950
5051 /**
5152 * Render the specified HTML to PDF and stream it to the client
5253 *
53- * @param string $html The HTML to render to PDF
54- * @param string $filename The filename for the generated PDF
54+ * @param ValidHtml $html The HTML to render to PDF
55+ * @param string $filename The filename for the generated PDF
56+ *
57+ * @return never
5558 */
5659 abstract public function streamPdfFromHtml ($ html , $ filename );
5760}
You can’t perform that action at this time.
0 commit comments