Skip to content

Commit 4a7a6a5

Browse files
committed
Fix doc block
1 parent a4c645e commit 4a7a6a5

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/VerifierServer/Endpoints/VerifiedEndpoint.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,16 @@ public function __construct(private PersistentState &$state)
5757
* @param string &$response The variable to store the generated response.
5858
* @param array &$content_type The variable to store the content type of the response.
5959
* @param string &$body The variable to store the body of the response.
60+
* @param bool $bypass_token Whether to bypass the token check. Default is false.
6061
*/
61-
public function handle(string $method, ServerRequestInterface|string $request, int|string &$response, array &$content_type, string &$body, bool $bypass_token = false): void
62+
public function handle(
63+
string $method,
64+
ServerRequestInterface|string $request,
65+
int|string &$response,
66+
array &$content_type,
67+
string &$body,
68+
bool $bypass_token = false
69+
): void
6270
{
6371
switch ($method) {
6472
case 'GET':

src/VerifierServer/PersistentState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public static function loadVerifyFile(string $json_path): ?array
256256
}
257257
$data = file_get_contents($json_path);
258258
if ($data === false) {
259-
throw new Exception("Failed to read {$json_path}");
259+
throw new Exception("Failed to read $json_path");
260260
}
261261
return json_decode($data, true) ?: [];
262262
}

0 commit comments

Comments
 (0)