Skip to content

Commit e534332

Browse files
committed
test: add param type for Response body
1 parent dbfd8ff commit e534332

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Test/TestResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public function testAssertJsonExactString()
412412
$this->testResponse->assertJSONExact($formatter->format($data));
413413
}
414414

415-
protected function getTestResponse($body = null, array $responseOptions = [], array $headers = [])
415+
protected function getTestResponse(?string $body = null, array $responseOptions = [], array $headers = [])
416416
{
417417
$this->response = new Response(new App());
418418
$this->response->setBody($body);

0 commit comments

Comments
 (0)