From 5867bd5fb0babef65bdd97c537fed631d9176b0c Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 23 Nov 2017 13:53:28 +0700 Subject: [PATCH] write1DBarcode: fix default parameter type for $style --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 65196e7..8c280b4 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -15190,7 +15190,7 @@ class TCPDF { * @since 3.1.000 (2008-06-09) * @public */ - public function write1DBarcode($code, $type, $x='', $y='', $w='', $h='', $xres='', $style='', $align='') { + public function write1DBarcode($code, $type, $x='', $y='', $w='', $h='', $xres='', $style=[], $align='') { if (TCPDF_STATIC::empty_string(trim($code))) { return; }