From: Tim Otten Date: Thu, 13 Apr 2017 02:06:07 +0000 (-0700) Subject: CRM-20420 - Add docblocks X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4f3088838601370d4a3beb00302aad33235d3f4e;p=civicrm-core.git CRM-20420 - Add docblocks --- diff --git a/CRM/Utils/PDF/Document.php b/CRM/Utils/PDF/Document.php index e841d67ca0..08b817872c 100644 --- a/CRM/Utils/PDF/Document.php +++ b/CRM/Utils/PDF/Document.php @@ -57,6 +57,7 @@ class CRM_Utils_PDF_Document { * Convert html to a Doc file. * * @param array $pages + * List of HTML snippets. * @param string $fileName * @param array|int $format */ @@ -176,7 +177,8 @@ class CRM_Utils_PDF_Document { * @param string $filePath * Document file path * @param array $contents - * Content of formatted/token-replaced document + * Content of formatted/token-replaced document. + * List of HTML snippets. * @param string $docType * Document type e.g. odt/docx * @param clsTbsZip $zip diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index f8696f04c7..fb3584772e 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -36,7 +36,8 @@ use Dompdf\Options; class CRM_Utils_PDF_Utils { /** - * @param $text + * @param array $text + * List of HTML snippets. * @param string $fileName * @param bool $output * @param null $pdfFormat