From 61d76adf412cef3e884cc9ada8c988dd831a665a Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Wed, 31 May 2017 00:07:00 +0200 Subject: [PATCH] Scrutinizer Auto-Fixes (#1995) This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- main/inc/lib/pdf.lib.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/inc/lib/pdf.lib.php b/main/inc/lib/pdf.lib.php index bfdb68adfa..64fd1c4ae6 100755 --- a/main/inc/lib/pdf.lib.php +++ b/main/inc/lib/pdf.lib.php @@ -181,7 +181,7 @@ class PDF * @param bool $complete_style show header and footer if true * @param bool $addStyle * - * @return bool + * @return false|null */ public function html_to_pdf( $html_file_array, @@ -679,7 +679,7 @@ class PDF } /** - * @param array $header html content + * @param string $header html content */ public function set_custom_header($header) { @@ -775,7 +775,7 @@ class PDF * * @param string $html PDF content * @param string $fileName File name - * @param null $dest Optional. Directory to move file + * @param string $dest Optional. Directory to move file * @return string The PDF path */ public function exportFromHtmlToFile($html, $fileName, $dest = null) @@ -808,8 +808,8 @@ class PDF /** * Create a PDF and save it into the documents area * @param string $htmlContent HTML Content - * @param $fileName The file name - * @param $courseId The course ID + * @param string $fileName The file name + * @param integer $courseId The course ID * @param int $sessionId Optional. The session ID */ public function exportFromHtmlToDocumentsArea($htmlContent, $fileName, $courseId, $sessionId = 0)