Skip to content

Commit

Permalink
Update PHPDoc Telnyx api key param
Browse files Browse the repository at this point in the history
  • Loading branch information
dcowan-london committed Jan 27, 2023
1 parent d238169 commit 05c0f0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Utopia/Messaging/Adapters/SMS/Telnyx.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
class Telnyx extends SMSAdapter
{
/**
* @param string $accountSid Twilio Account SID
* @param string $authToken Twilio Auth Token
* @param string $apiKey Telnyx APIv2 Key
*/
public function __construct(
private string $apiKey,
Expand All @@ -35,7 +34,7 @@ protected function process(SMS $message): string
{
return $this->request(
method: 'POST',
url: "https://api.telnyx.com/v2/messages",
url: 'https://api.telnyx.com/v2/messages',
headers: [
'Authorization: Bearer '.$this->apiKey,
'Content-Type: application/json',
Expand Down

0 comments on commit 05c0f0d

Please sign in to comment.