From e7075e2544d03d236d3c175907118f4a17bbbabd Mon Sep 17 00:00:00 2001 From: Simon Rogers Date: Wed, 27 Sep 2017 22:16:08 +0100 Subject: [PATCH] Make alias functions match parent function --- src/Helpers/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Helpers/helpers.php b/src/Helpers/helpers.php index a85336c..3b78933 100644 --- a/src/Helpers/helpers.php +++ b/src/Helpers/helpers.php @@ -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); } } \ No newline at end of file