Skip to content

Commit 0574c89

Browse files
authored
Merge pull request #7598 from kenjis/docs-TestResponse
docs: fix incorrect PHPDoc types in TestResponse
2 parents b543f87 + edd8204 commit 0574c89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Test/TestResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public function assertCookieExpired(string $key, string $prefix = '')
350350
/**
351351
* Returns the response's body as JSON
352352
*
353-
* @return false|string|null
353+
* @return false|string
354354
*/
355355
public function getJSON()
356356
{
@@ -385,7 +385,7 @@ public function assertJSONFragment(array $fragment, bool $strict = false)
385385
* Asserts that the JSON exactly matches the passed in data.
386386
* If the value being passed in is a string, it must be a json_encoded string.
387387
*
388-
* @param array|string $test
388+
* @param array|object|string $test
389389
*
390390
* @throws Exception
391391
*/

0 commit comments

Comments
 (0)