Skip to content

Commit

Permalink
Merge pull request codeigniter4#7598 from kenjis/docs-TestResponse
Browse files Browse the repository at this point in the history
docs: fix incorrect PHPDoc types in TestResponse
  • Loading branch information
kenjis committed Jun 25, 2023
2 parents b543f87 + edd8204 commit 0574c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Test/TestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public function assertCookieExpired(string $key, string $prefix = '')
/**
* Returns the response's body as JSON
*
* @return false|string|null
* @return false|string
*/
public function getJSON()
{
Expand Down Expand Up @@ -385,7 +385,7 @@ public function assertJSONFragment(array $fragment, bool $strict = false)
* Asserts that the JSON exactly matches the passed in data.
* If the value being passed in is a string, it must be a json_encoded string.
*
* @param array|string $test
* @param array|object|string $test
*
* @throws Exception
*/
Expand Down

0 comments on commit 0574c89

Please sign in to comment.