Merge pull request #78 from char101/patch-1

write1DBarcode: fix default parameter type for $style
This commit is contained in:
Nicola Asuni 2018-02-19 14:14:25 +00:00 committed by GitHub
commit 865cd727fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}