Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Nov 20, 2024
1 parent 11197eb commit 3d44dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/AbstractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3d44dff

Please sign in to comment.