Skip to content

Commit 22ec60e

Browse files
committed
Update bug-680.php
1 parent b4fa029 commit 22ec60e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/default/data/bug-680.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ public function doFoo(string $token): void
1515
->connection
1616
->fetchAssociative(
1717
'#cart-persister::load
18-
SELECT email, adaid FROM ada WHERE adaid = :token',
18+
SELECT email, adaid, "xy" as b FROM ada WHERE adaid = :token',
1919
['token' => $token],
2020
);
21-
assertType('array{email: string, adaid: int<-32768, 32767>}|false', $content);
21+
assertType('array{email: string, adaid: int<-32768, 32767, b: string>}|false', $content);
2222
}
2323
}

0 commit comments

Comments
 (0)