Merge pull request #123 from jfcherng/fix-php74-type-warning

Fix a warning for PHP 7.4
This commit is contained in:
Nicola Asuni 2019-09-19 10:07:52 +01:00 committed by GitHub
commit a8269f895d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1960,7 +1960,7 @@ class TCPDF {
// set default JPEG quality
$this->jpeg_quality = 75;
// initialize some settings
TCPDF_FONTS::utf8Bidi(array(''), '', false, $this->isunicode, $this->CurrentFont);
TCPDF_FONTS::utf8Bidi(array(), '', false, $this->isunicode, $this->CurrentFont);
// set default font
$this->SetFont($this->FontFamily, $this->FontStyle, $this->FontSizePt);
$this->setHeaderFont(array($this->FontFamily, $this->FontStyle, $this->FontSizePt));