Skip to content

Commit ca9bcb1

Browse files
committed
syntax fix
1 parent 047213a commit ca9bcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KubernetesCluster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function watchLogsPath(string $path, Closure $callback, array $query =
274274
$separator = \strpos($chunk, "\n");
275275
if ($separator !== false) {
276276
$extra = \substr($chunk, $separator + \strlen("\n"));
277-
$chunk = \substr($chunk, 0, $separator) + "\n";
277+
$chunk = \substr($chunk, 0, $separator) . "\n";
278278

279279
$call = call_user_func($callback, $chunk);
280280
if (!is_null($call)) {

0 commit comments

Comments
 (0)