Skip to content

Commit

Permalink
Merge pull request #28839 from lamrani002/fixTypagePAram
Browse files Browse the repository at this point in the history
FIX PHPStan warnings
  • Loading branch information
eldy authored Mar 15, 2024
2 parents e6a6142 + d9694be commit 7d585f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions htdocs/core/modules/member/doc/pdf_standard.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ public function Add_PDF_card(&$pdf, $textleft, $header, $footer, $outputlangs, $
/**
* Function to build PDF on disk, then output on HTTP stream.
*
* @param Adherent $object Member object. Old usage: Array of record information (array('textleft'=>,'textheader'=>, ...'id'=>,'photo'=>)
* @param Translate $outputlangs Lang object for output language
* @param string $srctemplatepath Full path of source filename for generator using a template file. Example: '5161', 'AVERYC32010', 'CARD', ...
* @param string $mode Tell if doc module is called for 'member', ...
* @param int $nooutput 1=Generate only file on disk and do not return it on response
* @param string $filename Name of output file (without extension)
* @param Adherent|array $object Member object. Old usage: Array of record information (array('textleft'=>,'textheader'=>, ...'id'=>,'photo'=>)
* @param Translate $outputlangs Lang object for output language
* @param string $srctemplatepath Full path of source filename for generator using a template file. Example: '5161', 'AVERYC32010', 'CARD', ...
* @param string $mode Tell if doc module is called for 'member', ...
* @param int $nooutput 1=Generate only file on disk and do not return it on response
* @param string $filename Name of output file (without extension)
* @return int 1=OK, 0=KO
*/
public function write_file($object, $outputlangs, $srctemplatepath, $mode = 'member', $nooutput = 0, $filename = 'tmp_cards')
Expand Down

0 comments on commit 7d585f2

Please sign in to comment.