From ed2f5cb2bf2484aba5b3c1dfa79c7a0a52e05b70 Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 9 Jan 2024 21:29:23 +0100 Subject: [PATCH] Fix: Typing hint for PDF set to TCPDF # Fix: Set typing hint to TCPDF (not PDF) There is no PDF proxy class in the project, change to TCPDF to help static tools. --- .../modules/action/doc/pdf_standard_actions.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/action/doc/pdf_standard_actions.class.php b/htdocs/core/modules/action/doc/pdf_standard_actions.class.php index ba3baaa4e51..f833ed595e9 100644 --- a/htdocs/core/modules/action/doc/pdf_standard_actions.class.php +++ b/htdocs/core/modules/action/doc/pdf_standard_actions.class.php @@ -223,7 +223,7 @@ class pdf_standard_actions /** * Write content of pages * - * @param PDF $pdf Object pdf + * @param TCPDF $pdf Object pdf * @param Translate $outputlangs Object langs * @return int 1 */ @@ -349,11 +349,11 @@ class pdf_standard_actions } /** - * Show top header of page. + * Show top header of page. * - * @param PDF $pdf Object PDF - * @param Translate $outputlangs Object lang for output - * @param int $pagenb Page nb + * @param TCPDF $pdf Object PDF + * @param Translate $outputlangs Object lang for output + * @param int $pagenb Page nb * @return integer */ private function _pagehead(&$pdf, $outputlangs, $pagenb)