Skip to content

Commit

Permalink
chore: duster fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patoui committed Feb 2, 2025
1 parent d3ded32 commit cde4346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ClickhouseGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function wrapJsonSelector($value)
{
[$field, $path] = $this->wrapJsonFieldAndPath($value);

return 'JSONExtractString('.$field.$path.')';
return 'JSONExtractString(' . $field . $path . ')';
}

/**
Expand Down Expand Up @@ -320,7 +320,7 @@ protected function wrapJsonPathSegment($segment)
$key = Str::beforeLast($segment, $parts[0]);

if (! empty($key)) {
return $key.$parts[0];
return $key . $parts[0];
}

return $parts[0];
Expand Down

0 comments on commit cde4346

Please sign in to comment.