Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions src/Codeception/Module/REST.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use Codeception\Util\JsonType;
use Codeception\Util\Soap as XmlUtils;
use Codeception\Util\XmlStructure;
use Exception;
use JsonException;
use JsonSchema\Constraints\Constraint as JsonConstraint;
use JsonSchema\Validator as JsonSchemaValidator;
Expand Down Expand Up @@ -368,7 +367,7 @@ public function amBearerAuthenticated(string $accessToken): void
* $I->amNTLMAuthenticated('jon_snow', 'targaryen');
* ```
*
* @throws ModuleException
* @throws \Codeception\Exception\ModuleException
* @part json
* @part xml
*/
Expand Down Expand Up @@ -405,7 +404,7 @@ public function amNTLMAuthenticated(string $username, string $password): void
* <?php
* $I->amAWSAuthenticated();
* ```
* @throws ConfigurationException
* @throws \Codeception\Exception\ConfigurationException
*/
public function amAWSAuthenticated(array $additionalAWSConfig = []): void
{
Expand Down Expand Up @@ -460,7 +459,7 @@ public function amAWSAuthenticated(array $additionalAWSConfig = []): void
* ]]);
* ```
*
* @param array|string|JsonSerializable $params
* @param array|string|\JsonSerializable $params
* @param array $files A list of filenames or "mocks" of $_FILES (each entry being an array with the following
* keys: name, type, error, size, tmp_name (pointing to the real file path). Each key works
* as the "name" attribute of a file input field.
Expand Down Expand Up @@ -524,7 +523,7 @@ public function sendGet(string $url, array $params = [])
* $response = $I->sendPut('/message/1', ['subject' => 'Read this!']);
* ```
*
* @param array|string|JsonSerializable $params
* @param array|string|\JsonSerializable $params
* @part json
* @part xml
*/
Expand All @@ -541,7 +540,7 @@ public function sendPut(string $url, $params = [], array $files = [])
* $response = $I->sendPatch('/message/1', ['subject' => 'Read this!']);
* ```
*
* @param array|string|JsonSerializable $params
* @param array|string|\JsonSerializable $params
* @part json
* @part xml
*/
Expand Down Expand Up @@ -569,7 +568,7 @@ public function sendDelete(string $url, array $params = [], array $files = [])
/**
* Sends a HTTP request.
*
* @param array|string|JsonSerializable $params
* @param array|string|\JsonSerializable $params
* @part json
* @part xml
*/
Expand Down Expand Up @@ -1044,7 +1043,7 @@ public function grabResponse(): string
* ```
*
* @return array Array of matching items
* @throws Exception
* @throws \Exception
* @part json
*/
public function grabDataFromResponseByJsonPath(string $jsonPath): array
Expand Down