We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbea7a3 commit 25c2ea1Copy full SHA for 25c2ea1
1 file changed
tests/system/HTTP/StreamResponseTest.php
@@ -81,7 +81,7 @@ public function testStatusCodeIsSettable(): void
81
public function testConstructorTreatsCallableIterableAsCallable(): void
82
{
83
// An array callable is both callable and iterable; callable must win.
84
- $response = new StreamResponse([$this, 'writeHello']);
+ $response = new StreamResponse($this->writeHello(...));
85
$response->pretend();
86
87
ob_start();
0 commit comments