8000 [HttpClient] Fix Static Code Analyzer issue with JsonMockResponse · symfony/symfony@c4756df · GitHub
[go: up one dir, main page]

Skip to content

Commit c4756df

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/HttpClient/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)
0