fixes for continue inside switch statement (#660)
This a bugfix for php 7.3 related errors where using continue inside a switch raises a PHP warning. Either use continue 2 or break. Previously continue behaves like break but the intended usage is to continue the for loop instead.
This commit is contained in:
parent
01501b6ff2
commit
9022c39dd8
|
@ -1127,7 +1127,7 @@ class Xls extends BaseReader
|
|||
// TODO: Why is there no BSE Index? Is this a new Office Version? Password protected field?
|
||||
// More likely : a uncompatible picture
|
||||
if (!$BSEindex) {
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
|
||||
$BSECollection = $escherWorkbook->getDggContainer()->getBstoreContainer()->getBSECollection();
|
||||
|
|
|
@ -320,7 +320,7 @@ class OLE
|
|||
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
fseek($fh, 1, SEEK_CUR);
|
||||
$pps->Type = $type;
|
||||
|
|
Loading…
Reference in New Issue