Skip to content

Commit 2fa3d01

Browse files
NaktibaldaDavertMik
authored andcommitted
[REST] Updated docblock of amAWSAuthenticated (#5197)
* [REST] Updated docblock of amAWSAuthenticated Because config example wasn't rendered correctly * Deleted whitespace at end of line
1 parent e443a5e commit 2fa3d01

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Codeception/Module/REST.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,10 @@ public function amNTLMAuthenticated($username, $password)
339339

340340
/**
341341
* Allows to send REST request using AWS Authorization
342-
* Only works with PhpBrowser
343-
* Example
344-
* Config -
345342
*
343+
* Only works with PhpBrowser
344+
* Example Config:
345+
* ```yml
346346
* modules:
347347
* enabled:
348348
* - REST:
@@ -351,7 +351,8 @@ public function amNTLMAuthenticated($username, $password)
351351
* secret: accessSecret
352352
* service: awsService
353353
* region: awsRegion
354-
*
354+
* ```
355+
* Code:
355356
* ```php
356357
* <?php
357358
* $I->amAWSAuthenticated();

0 commit comments

Comments
 (0)