diff --git a/src/Command/AbstractCommand.php b/src/Command/AbstractCommand.php index 969466cb8..27f973813 100644 --- a/src/Command/AbstractCommand.php +++ b/src/Command/AbstractCommand.php @@ -347,14 +347,14 @@ public function getRawSql(): string } $params = []; - $getQueryBuilder = $this->getQueryBuilder(); + $queryBuilder = $this->getQueryBuilder(); foreach ($this->params as $name => $param) { if (is_string($name) && $name[0] !== ':') { $name = ':' . $name; } - $params[$name] = $getQueryBuilder->prepareParam($param); + $params[$name] = $queryBuilder->prepareParam($param); } /** @var string[] $params */