Commit c77dd80b authored by Benjamin Morel's avatar Benjamin Morel

Fix phpstan error

parent c950aab1
......@@ -1298,8 +1298,8 @@ class QueryBuilder
$sql = '';
if (isset($this->sqlParts['join'][$fromAlias])) {
/** @var Join $join */
foreach ($this->sqlParts['join'][$fromAlias] as $join) {
/** @var Join $join */
if (array_key_exists($join->alias, $knownAliases)) {
throw NonUniqueAlias::new($join->alias, array_keys($knownAliases));
}
......
......@@ -16,9 +16,6 @@ parameters:
# https://bugs.php.net/bug.php?id=78126
- '~^Call to an undefined method PDO::sqliteCreateFunction\(\)\.\z~'
# https://github.com/phpstan/phpstan/issues/2857
- '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\Exception\\NonUniqueAlias::new\(\) expects array<string>, array<int, int\|string> given\.\z~'
# legacy remnants from doctrine/common
- '~^Class Doctrine\\Common\\(Collections\\Collection|Persistence\\Proxy) not found\.\z~'
- '~^.+ on an unknown class Doctrine\\Common\\(Collections\\Collection|Persistence\\Proxy)\.\z~'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment