Skip to content

Commit

Permalink
Update doctrine-dbal.php
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab authored and staabm committed Oct 3, 2024
1 parent 5fc950d commit 6361afb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/default/data/doctrine-dbal.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ public function customTypeParameters(Connection $conn)
/**
* @param list<positive-int> $idsToUpdate
*/
public function specifiedList(Connection $conn, array $idsToUpdate)
public function fetchFromListParam(Connection $conn, array $idsToUpdate)
{
$query = 'SELECT adaid FROM ada WHERE adaid IN (?)';
$result = $conn->executeQuery($query, $idsToUpdate);
assertType('PDOStatement<array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}>', $result);
$fetchResult = $conn->fetchOne($query, $idsToUpdate);
assertType('string|false', $fetchResult);
}
}

0 comments on commit 6361afb

Please sign in to comment.