Merge pull request #84 from NiklasBr/master

Restore PHP 5.3 compatibility Verified 11f0fd3
This commit is contained in:
Nicola Asuni 2018-02-24 11:45:06 +00:00 committed by GitHub
commit dc3254240e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15192,7 +15192,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=array(), $align='') {
if (TCPDF_STATIC::empty_string(trim($code))) {
return;
}