From 056c7a88c60c7ce937030c1c0227550ef59a6c65 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Thu, 15 Aug 2024 16:09:49 +0800 Subject: [PATCH] small fix --- src/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manager.php b/src/Manager.php index ca6129b..8313880 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -51,7 +51,7 @@ public function from(string $connection): TwilioInterface throw new InvalidArgumentException("Connection \"{$connection}\" is not configured."); } - $settings = $this->settings[$connection] ?? ['sid' => '', 'token' => '', 'from' => '']; + $settings = $this->settings[$connection]; return new Twilio($settings['sid'], $settings['token'], $settings['from']); }