Fix optionnal "$k" parameter declaration

This commit is contained in:
Cédric Anne 2020-10-14 10:35:08 +02:00 committed by GitHub
parent e5f4da5a76
commit 292fc741f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2507,7 +2507,7 @@ class TCPDF_STATIC {
* @since 5.0.010 (2010-05-17)
* @public static
*/
public static function setPageBoxes($page, $type, $llx, $lly, $urx, $ury, $points=false, $k, $pagedim=array()) {
public static function setPageBoxes($page, $type, $llx, $lly, $urx, $ury, $points=false, $k=1, $pagedim=array()) {
if (!isset($pagedim[$page])) {
// initialize array
$pagedim[$page] = array();