Skip to content

Commit 2302748

Browse files
committed
Docblock: Fix parameter types of dontSeeResponseMatchesJsonType, set array typehint
1 parent 38b09a6 commit 2302748

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Codeception/Module/REST.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,12 +1275,11 @@ public function seeResponseMatchesJsonType(array $jsonType, $jsonPath = null)
12751275
* Opposite to `seeResponseMatchesJsonType`.
12761276
*
12771277
* @part json
1278-
* @param $jsonType jsonType structure
1279-
* @param null $jsonPath optionally set specific path to structure with JsonPath
1278+
* @param array $jsonType JsonType structure
1279+
* @param string $jsonPath
12801280
* @see seeResponseMatchesJsonType
1281-
* @version 2.1.3
12821281
*/
1283-
public function dontSeeResponseMatchesJsonType($jsonType, $jsonPath = null)
1282+
public function dontSeeResponseMatchesJsonType(array $jsonType, $jsonPath = null)
12841283
{
12851284
$jsonArray = new JsonArray($this->connectionModule->_getResponseContent());
12861285
if ($jsonPath) {

0 commit comments

Comments
 (0)