Skip to content

Commit 25c2ea1

Browse files
committed
fix rector
1 parent dbea7a3 commit 25c2ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/HTTP/StreamResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testStatusCodeIsSettable(): void
8181
public function testConstructorTreatsCallableIterableAsCallable(): void
8282
{
8383
// An array callable is both callable and iterable; callable must win.
84-
$response = new StreamResponse([$this, 'writeHello']);
84+
$response = new StreamResponse($this->writeHello(...));
8585
$response->pretend();
8686

8787
ob_start();

0 commit comments

Comments
 (0)