Skip to content

Commit de9046b

Browse files
alexander-schranznicolas-grekas
authored andcommitted
[HttpClient] Fix Static Code Analyzer issue with JsonMockResponse
1 parent 15f9f4b commit de9046b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Response/JsonMockResponse.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
class JsonMockResponse extends MockResponse
1717
{
18+
/**
19+
* @param mixed $body Any value that `json_encode()` can serialize
20+
*/
1821
public function __construct(mixed $body = [], array $info = [])
1922
{
2023
try {

0 commit comments

Comments
 (0)