Fix warning php 7.3
This commit is contained in:
parent
1e775ffa6e
commit
988b6a49d2
@ -48,6 +48,23 @@ into
|
|||||||
// initialize subsetchars
|
// initialize subsetchars
|
||||||
$subsetchars = array_fill(0, 256, true);
|
$subsetchars = array_fill(0, 256, true);
|
||||||
|
|
||||||
|
* Replace the continue into switch with a break:
|
||||||
|
|
||||||
|
case 're': {
|
||||||
|
// justify block
|
||||||
|
if (!TCPDF_STATIC::empty_string($this->lispacer)) {
|
||||||
|
$this->lispacer = '';
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
into
|
||||||
|
case 're': {
|
||||||
|
// justify block
|
||||||
|
if (!TCPDF_STATIC::empty_string($this->lispacer)) {
|
||||||
|
$this->lispacer = '';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
* Optionnaly, removed all fonts except
|
* Optionnaly, removed all fonts except
|
||||||
dejavusans* (used by greek, arab, persan, romanian, turkish),
|
dejavusans* (used by greek, arab, persan, romanian, turkish),
|
||||||
freemono* (russian),
|
freemono* (russian),
|
||||||
|
|||||||
@ -17783,7 +17783,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
|||||||
// justify block
|
// justify block
|
||||||
if (!TCPDF_STATIC::empty_string($this->lispacer)) {
|
if (!TCPDF_STATIC::empty_string($this->lispacer)) {
|
||||||
$this->lispacer = '';
|
$this->lispacer = '';
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
preg_match('/([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]('.$strpiece[1][0].')[\s](re)([\s]*)/x', $pmid, $xmatches);
|
preg_match('/([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]('.$strpiece[1][0].')[\s](re)([\s]*)/x', $pmid, $xmatches);
|
||||||
if (!isset($xmatches[1])) {
|
if (!isset($xmatches[1])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user