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:
parent
e6dbcf2f82
commit
ed2f5cb2bf
1 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue