Skip to content

Commit efcfedf

Browse files
committed
fix string format
1 parent 62062ca commit efcfedf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ClickHouseSQLParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ public function cutNextPart($str, $divc = ',')
517517
$cb = ')]}';
518518
$z = [];
519519
$q = '';
520+
$str = (string)$str;
520521
$l = \strlen($str);
521522
for ($i=0; $i < $l; $i++) {
522523
$c = $str[$i];

0 commit comments

Comments
 (0)