Skip to content

Commit 8df1e3b

Browse files
clxmstaabstaabm
authored andcommitted
Update doctrine-dbal.php
1 parent 6be7075 commit 8df1e3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/default/data/doctrine-dbal.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ public function customTypeParameters(Connection $conn)
232232
/**
233233
* @param list<positive-int> $idsToUpdate
234234
*/
235-
public function specifiedList(Connection $conn, array $idsToUpdate)
235+
public function fetchFromListParam(Connection $conn, array $idsToUpdate)
236236
{
237237
$query = 'SELECT adaid FROM ada WHERE adaid IN (?)';
238-
$result = $conn->executeQuery($query, $idsToUpdate);
239-
assertType('PDOStatement<array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}>', $result);
238+
$fetchResult = $conn->fetchOne($query, $idsToUpdate);
239+
assertType('string|false', $fetchResult);
240240
}
241241
}

0 commit comments

Comments
 (0)