Skip to content

Commit

Permalink
Fix phpdocs after tcpdf update to 6.4.3 (the actual hints where not v…
Browse files Browse the repository at this point in the history
…alid)

Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Dec 29, 2021
1 parent 2cdf437 commit 679eca2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
15 changes: 7 additions & 8 deletions libraries/classes/Pdf.php
Expand Up @@ -33,14 +33,13 @@ class Pdf extends TCPDF
/**
* Constructs PDF and configures standard parameters.
*
* @param string $orientation page orientation
* @param string $unit unit
* @param string $format the format used for pages
* @param bool $unicode true means that the input text is unicode
* @param string $encoding charset encoding; default is UTF-8.
* @param bool $diskcache if true reduce the RAM memory usage by caching
* temporary data on filesystem (slower).
* @param bool $pdfa If TRUE set the document to PDF/A mode.
* @param string $orientation page orientation
* @param string $unit unit
* @param string $format the format used for pages
* @param bool $unicode true means that the input text is unicode
* @param string $encoding charset encoding; default is UTF-8.
* @param bool $diskcache DEPRECATED TCPDF FEATURE
* @param false|int $pdfa If not false, set the document to PDF/A mode and the good version (1 or 3)
*
* @throws Exception
*
Expand Down
15 changes: 7 additions & 8 deletions libraries/classes/Plugins/Export/Helpers/Pdf.php
Expand Up @@ -95,14 +95,13 @@ class Pdf extends PdfLib
/**
* Constructs PDF and configures standard parameters.
*
* @param string $orientation page orientation
* @param string $unit unit
* @param string $format the format used for pages
* @param bool $unicode true means that the input text is unicode
* @param string $encoding charset encoding; default is UTF-8.
* @param bool $diskcache if true reduce the RAM memory usage by caching
* temporary data on filesystem (slower).
* @param bool $pdfa If TRUE set the document to PDF/A mode.
* @param string $orientation page orientation
* @param string $unit unit
* @param string $format the format used for pages
* @param bool $unicode true means that the input text is unicode
* @param string $encoding charset encoding; default is UTF-8.
* @param bool $diskcache DEPRECATED TCPDF FEATURE
* @param false|int $pdfa If not false, set the document to PDF/A mode and the good version (1 or 3)
*
* @access public
*/
Expand Down

0 comments on commit 679eca2

Please sign in to comment.