Skip to content

Commit 6800b17

Browse files
docs: remove unnecessary comments and todos
1 parent 56ab7d8 commit 6800b17

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Utopia/Messaging/Adapter/SMS/VonageMessages.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ protected function getApiEndpoint(): string
3939

4040
/**
4141
* Get the authorization header value for the API request.
42-
*
43-
* @todo Implement JWT authentication for non-SMS channels
4442
*/
4543
protected function getAuthorizationHeader(): string
4644
{
@@ -122,7 +120,6 @@ protected function process(SMSMessage $message): array
122120
} elseif (!empty($result['error'])) {
123121
$errorMessage = $result['error'];
124122
} elseif (\is_string($result['response']) && !empty($result['response'])) {
125-
// Handle case where response is raw HTML (like a 403 block page)
126123
$errorMessage = "Error {$result['statusCode']}: " . \mb_strimwidth(\strip_tags($result['response']), 0, 100, '...');
127124
}
128125

0 commit comments

Comments
 (0)