Skip to content

Commit

Permalink
Merge pull request #5871 from derrabus/bump/phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Jan 26, 2023
2 parents 1507fc7 + d543321 commit 30dc170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -42,7 +42,7 @@
"require-dev": {
"doctrine/coding-standard": "11.1.0",
"jetbrains/phpstorm-stubs": "2022.3",
"phpstan/phpstan": "1.9.11",
"phpstan/phpstan": "1.9.14",
"phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "9.5.28",
"psalm/plugin-phpunit": "0.18.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Query/QueryBuilder.php
Expand Up @@ -1545,7 +1545,7 @@ private function getSQLForJoins($fromAlias, array &$knownAliases): string
if (isset($this->sqlParts['join'][$fromAlias])) {
foreach ($this->sqlParts['join'][$fromAlias] as $join) {
if (array_key_exists($join['joinAlias'], $knownAliases)) {
throw QueryException::nonUniqueAlias($join['joinAlias'], array_keys($knownAliases));
throw QueryException::nonUniqueAlias((string) $join['joinAlias'], array_keys($knownAliases));
}

$sql .= ' ' . strtoupper($join['joinType'])
Expand Down

0 comments on commit 30dc170

Please sign in to comment.