Skip to content

Commit a4c645e

Browse files
committed
Tweak docs
1 parent 9e51ab1 commit a4c645e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/VerifierServer/Endpoints/EndpointInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface EndpointInterface
2121
* @param int|string &$response The variable to store the generated response.
2222
* @param array &$content_type The variable to store the content type of the response.
2323
* @param string &$body The variable to store the body of the response.
24-
* @param bool $bypass_token Whether to bypass the token check.
24+
* @param bool $bypass_token Whether to bypass the token check. Default is false.
2525
*/
2626
public function handle(
2727
string $method,

src/VerifierServer/Endpoints/VerifiedEndpoint.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
* - __construct: Initializes the VerifiedEndpoint with a reference to the PersistentState object.
2323
* - handle: Routes incoming HTTP requests to the appropriate handler based on the HTTP method.
2424
* - get: Handles GET requests to retrieve the verification list.
25-
* - post: Handles POST and DELETE requests to modify the verification list.
26-
* - __post: Adds a new verification entry to the list if it does not already exist.
27-
* - delete: Removes an existing verification entry from the list.
25+
* - post: Handles POST requests to modify the verification list.
26+
* - __post: Adds a new entry to the verification list if its fields/columns are unique.
27+
* - delete: Handles DELETE request to remove an existing entry from the verification list.
2828
*
2929
* Authorization:
3030
* - The class checks the provided token against the expected token stored in the PersistentState.

0 commit comments

Comments
 (0)