8000 Update TestResponse.php (#55743) · laravel/framework@f43f238 · GitHub
[go: up one dir, main page]

Skip to content

Commit f43f238

Browse files
authored
Update TestResponse.php (#55743)
1 parent 9b9ec01 commit f43f238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Testing/TestResponse.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ public function assertJsonMissingPath(string $path)
906906
* @param array|null $responseData
907907
* @return $this
908908
*/
909-
public function assertJsonStructure(?array $structure = null, $responseData = null)
909+
public function assertJsonStructure(?array $structure = null, ?array $responseData = null)
910910
{
911911
$this->decodeResponseJson()->assertStructure($structure, $responseData);
912912

@@ -920,7 +920,7 @@ public function assertJsonStructure(?array $structure = null, $responseData = nu
920920
* @param array|null $responseData
921921
* @return $this
922922
*/
923-
public function assertExactJsonStructure(?array $structure = null, $responseData = null)
923+
public function assertExactJsonStructure(?array $structure = null, ?array $responseData = null)
924924
{
925925
$this->decodeResponseJson()->assertStructure($structure, $responseData, true);
926926

0 commit comments

Comments
 (0)
0