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.
This commit is contained in:
MDW 2024-01-09 21:29:23 +01:00
parent e6dbcf2f82
commit ed2f5cb2bf

View file

@ -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)