23
23
use Codeception \Util \JsonType ;
24
24
use Codeception \Util \Soap as XmlUtils ;
25
25
use Codeception \Util \XmlStructure ;
26
- use Exception ;
27
26
use JsonException ;
28
27
use JsonSchema \Constraints \Constraint as JsonConstraint ;
29
28
use JsonSchema \Validator as JsonSchemaValidator ;
@@ -368,7 +367,7 @@ public function amBearerAuthenticated(string $accessToken): void
368
367
* $I->amNTLMAuthenticated('jon_snow', 'targaryen');
369
368
* ```
370
369
*
371
- * @throws ModuleException
370
+ * @throws \Codeception\Exception\ ModuleException
372
371
* @part json
373
372
* @part xml
374
373
*/
@@ -405,7 +404,7 @@ public function amNTLMAuthenticated(string $username, string $password): void
405
404
* <?php
406
405
* $I->amAWSAuthenticated();
407
406
* ```
408
- * @throws ConfigurationException
407
+ * @throws \Codeception\Exception\ ConfigurationException
409
408
*/
410
409
public function amAWSAuthenticated (array $ additionalAWSConfig = []): void
411
410
{
@@ -460,7 +459,7 @@ public function amAWSAuthenticated(array $additionalAWSConfig = []): void
460
459
* ]]);
461
460
* ```
462
461
*
463
- * @param array|string|JsonSerializable $params
462
+ * @param array|string|\ JsonSerializable $params
464
463
* @param array $files A list of filenames or "mocks" of $_FILES (each entry being an array with the following
465
464
* keys: name, type, error, size, tmp_name (pointing to the real file path). Each key works
466
465
* as the "name" attribute of a file input field.
@@ -524,7 +523,7 @@ public function sendGet(string $url, array $params = [])
524
523
* $response = $I->sendPut('/message/1', ['subject' => 'Read this!']);
525
524
* ```
526
525
*
527
- * @param array|string|JsonSerializable $params
526
+ * @param array|string|\ JsonSerializable $params
528
527
* @part json
529
528
* @part xml
530
529
*/
@@ -541,7 +540,7 @@ public function sendPut(string $url, $params = [], array $files = [])
541
540
* $response = $I->sendPatch('/message/1', ['subject' => 'Read this!']);
542
541
* ```
543
542
*
544
- * @param array|string|JsonSerializable $params
543
+ * @param array|string|\ JsonSerializable $params
545
544
* @part json
546
545
* @part xml
547
546
*/
@@ -569,7 +568,7 @@ public function sendDelete(string $url, array $params = [], array $files = [])
569
568
/**
570
569
* Sends a HTTP request.
571
570
*
572
- * @param array|string|JsonSerializable $params
571
+ * @param array|string|\ JsonSerializable $params
573
572
* @part json
574
573
* @part xml
575
574
*/
@@ -1044,7 +1043,7 @@ public function grabResponse(): string
1044
1043
* ```
1045
1044
*
1046
1045
* @return array Array of matching items
1047
- * @throws Exception
1046
+ * @throws \ Exception
1048
1047
* @part json
1049
1048
*/
1050
1049
public function grabDataFromResponseByJsonPath (string $ jsonPath ): array
0 commit comments