Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f43f238

Browse filesBrowse files
authored
Update TestResponse.php (#55743)
1 parent 9b9ec01 commit f43f238
Copy full SHA for f43f238

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Illuminate/Testing/TestResponse.php

Copy file name to clipboardExpand all lines: src/Illuminate/Testing/TestResponse.php
+2-2Lines changed: 2 additions & 2 deletions
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.