Skip to content

Commit

Permalink
Fix psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Feb 11, 2024
1 parent 0845c13 commit 8f76d49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Expression/ExpressionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ private function replaceParamExpressions(string $sql, array $expressionParams, a
}

$pattern = $this->getPattern($name);
/** @psalm-suppress PossiblyNullReference */
$replacement = $this->queryBuilder->buildExpression($value, $params);

$sql = preg_replace($pattern, $replacement, $sql, 1);
Expand Down

0 comments on commit 8f76d49

Please sign in to comment.