Skip to content

Commit fad17d4

Browse files
authored
Merge pull request #97 from erickskrauch/fix_fqn
Use FQN for public methods
2 parents bb545d4 + 54773ac commit fad17d4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/Codeception/Module/REST.php

+7-8
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use Codeception\Util\JsonType;
2424
use Codeception\Util\Soap as XmlUtils;
2525
use Codeception\Util\XmlStructure;
26-
use Exception;
2726
use JsonException;
2827
use JsonSchema\Constraints\Constraint as JsonConstraint;
2928
use JsonSchema\Validator as JsonSchemaValidator;
@@ -368,7 +367,7 @@ public function amBearerAuthenticated(string $accessToken): void
368367
* $I->amNTLMAuthenticated('jon_snow', 'targaryen');
369368
* ```
370369
*
371-
* @throws ModuleException
370+
* @throws \Codeception\Exception\ModuleException
372371
* @part json
373372
* @part xml
374373
*/
@@ -405,7 +404,7 @@ public function amNTLMAuthenticated(string $username, string $password): void
405404
* <?php
406405
* $I->amAWSAuthenticated();
407406
* ```
408-
* @throws ConfigurationException
407+
* @throws \Codeception\Exception\ConfigurationException
409408
*/
410409
public function amAWSAuthenticated(array $additionalAWSConfig = []): void
411410
{
@@ -460,7 +459,7 @@ public function amAWSAuthenticated(array $additionalAWSConfig = []): void
460459
* ]]);
461460
* ```
462461
*
463-
* @param array|string|JsonSerializable $params
462+
* @param array|string|\JsonSerializable $params
464463
* @param array $files A list of filenames or "mocks" of $_FILES (each entry being an array with the following
465464
* keys: name, type, error, size, tmp_name (pointing to the real file path). Each key works
466465
* as the "name" attribute of a file input field.
@@ -524,7 +523,7 @@ public function sendGet(string $url, array $params = [])
524523
* $response = $I->sendPut('/message/1', ['subject' => 'Read this!']);
525524
* ```
526525
*
527-
* @param array|string|JsonSerializable $params
526+
* @param array|string|\JsonSerializable $params
528527
* @part json
529528
* @part xml
530529
*/
@@ -541,7 +540,7 @@ public function sendPut(string $url, $params = [], array $files = [])
541540
* $response = $I->sendPatch('/message/1', ['subject' => 'Read this!']);
542541
* ```
543542
*
544-
* @param array|string|JsonSerializable $params
543+
* @param array|string|\JsonSerializable $params
545544
* @part json
546545
* @part xml
547546
*/
@@ -569,7 +568,7 @@ public function sendDelete(string $url, array $params = [], array $files = [])
569568
/**
570569
* Sends a HTTP request.
571570
*
572-
* @param array|string|JsonSerializable $params
571+
* @param array|string|\JsonSerializable $params
573572
* @part json
574573
* @part xml
575574
*/
@@ -1044,7 +1043,7 @@ public function grabResponse(): string
10441043
* ```
10451044
*
10461045
* @return array Array of matching items
1047-
* @throws Exception
1046+
* @throws \Exception
10481047
* @part json
10491048
*/
10501049
public function grabDataFromResponseByJsonPath(string $jsonPath): array

0 commit comments

Comments
 (0)