Skip to content

Commit 6164d78

Browse files
committed
Fix Message attributes setters (fluent)
1 parent 581fb31 commit 6164d78

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/TwilioMmsMessage.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ class TwilioMmsMessage extends TwilioSmsMessage
1515
* Set the alphanumeric sender.
1616
*
1717
* @param $url
18+
* @return $this
1819
*/
1920
public function mediaUrl($url)
2021
{
2122
$this->mediaUrl = $url;
23+
24+
return $this;
2225
}
2326
}

src/TwilioSmsMessage.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ public function getFrom()
2929
* Set the alphanumeric sender.
3030
*
3131
* @param $sender
32+
* @return $this
3233
*/
3334
public function sender($sender)
3435
{
3536
$this->alphaNumSender = $sender;
37+
38+
return $this;
3639
}
3740
}

0 commit comments

Comments
 (0)