Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
Make alias functions match parent function
Browse files Browse the repository at this point in the history
  • Loading branch information
midnite81 committed Sep 27, 2017
1 parent ef240f7 commit e7075e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helpers/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ function plivo_send_text($to, $message, $from = null) {
}

if (! function_exists('text')) {
function text($to, $message, $from) {
function text($to, $message, $from = null) {
return plivo_send_text($to, $message, $from);
}
}

if (! function_exists('text_message')) {
function text_message($to, $message, $from) {
function text_message($to, $message, $from = null) {
return plivo_send_text($to, $message, $from);
}
}

0 comments on commit e7075e2

Please sign in to comment.