Skip to content

Commit a1ae58f

Browse files
clxmstaabstaabm
authored andcommitted
Update doctrine-dbal.php
1 parent 1f4176c commit a1ae58f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/default/data/doctrine-dbal.php

+3-6
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,10 @@ public function customTypeParameters(Connection $conn)
232232
/**
233233
* @param list<positive-int> $idsToUpdate
234234
*/
235-
public function specifiedList(Connection $conn, array $idsToUpdate, string $time)
235+
public function specifiedList(Connection $conn, array $idsToUpdate)
236236
{
237-
$query = 'SELECT adaid FROM ada WHERE adaid IN (:ids) AND email LIKE :time';
238-
$result = $conn->executeQuery($query, [
239-
'ids' => $idsToUpdate,
240-
'time' => $time,
241-
]);
237+
$query = 'SELECT adaid FROM ada WHERE adaid IN (?)';
238+
$result = $conn->executeQuery($query, $idsToUpdate);
242239
assertType('PDOStatement<array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}>', $result);
243240
}
244241
}

0 commit comments

Comments
 (0)