Skip to content

Commit 72b1bf0

Browse files
authored
Use the same type as in the DBAL (#10372)
* Use the same type as in the DBAL Implementations pass this parameter unchanged to DBAL methods. * Update Psalm baseline
1 parent 70241d3 commit 72b1bf0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function removeQueryCacheProfile()
5454
* Executes all sql statements.
5555
*
5656
* @param Connection $conn The database connection that is used to execute the queries.
57-
* @psalm-param array<int, mixed>|array<string, mixed> $params The parameters.
57+
* @psalm-param list<mixed>|array<string, mixed> $params The parameters.
5858
* @psalm-param array<int, int|string|Type|null>|
5959
* array<string, int|string|Type|null> $types The parameter types.
6060
*

psalm-baseline.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2773,9 +2773,8 @@
27732773
<PossiblyNullIterator occurrences="1">
27742774
<code>$orderByClause-&gt;orderByItems</code>
27752775
</PossiblyNullIterator>
2776-
<PossiblyNullPropertyAssignmentValue occurrences="3">
2776+
<PossiblyNullPropertyAssignmentValue occurrences="2">
27772777
<code>$AST-&gt;orderByClause</code>
2778-
<code>$query-&gt;getFirstResult()</code>
27792778
<code>$query-&gt;getMaxResults()</code>
27802779
</PossiblyNullPropertyAssignmentValue>
27812780
<PossiblyNullPropertyFetch occurrences="1">

0 commit comments

Comments
 (0)