Skip to content

Commit

Permalink
Merge pull request #97 from erickskrauch/fix_fqn
Browse files Browse the repository at this point in the history
Use FQN for public methods
  • Loading branch information
Naktibalda authored Aug 20, 2023
2 parents bb545d4 + 54773ac commit fad17d4
Showing 1 changed file with 7 additions and 8 deletions.
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

0 comments on commit fad17d4

Please sign in to comment.