fix data type

This commit is contained in:
Dennis Eichhorn 2023-09-11 23:20:39 +00:00
parent 6ebcdb1d6c
commit a0e8a0b261

View File

@ -1762,11 +1762,8 @@ class TCPDF_FONTS {
* @since 4.5.037 (2009-04-07)
* @public static
*/
public static function UniArrSubString($uniarr, $start='', $end='') {
if (\strlen($start) == 0) {
$start = 0;
}
if (\strlen($end) == 0) {
public static function UniArrSubString($uniarr, $start, $end) {
if ($end == 0) {
$end = \count($uniarr);
}
$string = '';