Skip to content

Commit 7d83b33

Browse files
committed
fix Psalm
1 parent 4f6b1aa commit 7d83b33

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎tests/system/HTTP/StreamResponseTest.php‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ public function testStatusCodeIsSettable(): void
8282

8383
public function testConstructorTreatsCallableIterableAsCallable(): void
8484
{
85-
$callbackOrChunks = new class () implements IteratorAggregate {
85+
$callbackOrChunks = new
86+
/**
87+
* @implements IteratorAggregate<int, string>
88+
*/
89+
class () implements IteratorAggregate {
8690
public function __invoke(StreamResponse $stream): void
8791
{
8892
$stream->write('Hello');

0 commit comments

Comments
 (0)