Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix phpDoc #5097

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions library/Icinga/Application/Hook/PdfexportHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

namespace Icinga\Application\Hook;

use Icinga\Module\Pdfexport\PrintableHtmlDocument;

/**
* Base class for the PDF Export Hook
*/
Expand All @@ -18,8 +20,8 @@ abstract public function isSupported();
/**
* 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);
}