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 77
88use Icinga \Application \Hook ;
99use Icinga \Application \Logger ;
10+ use ipl \Html \ValidHtml ;
1011use RuntimeException ;
1112use Throwable ;
1213
@@ -44,15 +45,17 @@ public static function first()
4445 /**
4546 * Get whether PDF export is supported
4647 *
47- * @return bool
48+ * @return bool
4849 */
4950 abstract public function isSupported ();
5051
5152 /**
5253 * Render the specified HTML to PDF and stream it to the client
5354 *
54- * @param string $html The HTML to render to PDF
55- * @param string $filename The filename for the generated PDF
55+ * @param ValidHtml $html The HTML to render to PDF
56+ * @param string $filename The filename for the generated PDF
57+ *
58+ * @return never
5659 */
5760 abstract public function streamPdfFromHtml ($ html , $ filename );
5861
You can’t perform that action at this time.
0 commit comments