mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
PdfExportHook (phpDoc): Add possible param type hints
This commit is contained in:
parent
a9b0e1e2d2
commit
75a607fe1f
@ -3,6 +3,8 @@
|
||||
|
||||
namespace Icinga\Application\Hook;
|
||||
|
||||
use Icinga\Module\Pdfexport\PrintableHtmlDocument;
|
||||
|
||||
/**
|
||||
* Base class for the PDF Export Hook
|
||||
*/
|
||||
@ -18,8 +20,8 @@ abstract class PdfexportHook
|
||||
/**
|
||||
* Render the specified HTML to PDF and stream it to the client
|
||||
*
|
||||
* @param string $html The HTML to render to PDF
|
||||
* @param string $filename The filename for the generated PDF
|
||||
* @param string|PrintableHtmlDocument $html The HTML to render to PDF
|
||||
* @param string $filename The filename for the generated PDF
|
||||
*/
|
||||
abstract public function streamPdfFromHtml($html, $filename);
|
||||
abstract public function streamPdfFromHtml($html, string $filename);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user