diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/SMS/SMS.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/SMS/SMS.php b/src/SMS/SMS.php index e0a1a63..9422e72 100644 --- a/src/SMS/SMS.php +++ b/src/SMS/SMS.php @@ -67,9 +67,15 @@ abstract class SMS implements \JsonSerializable { if (preg_match("/^\+?[0-9]+$/m", $sender) && strlen($sender) > 18) { - trigger_error("Sender number too long, max length is 18 digits", E_USER_WARNING); + trigger_error( + "Sender number too long, max length is 18 digits", + E_USER_WARNING + ); } elseif (strlen($sender) > 11) { - trigger_error("Sender string too long, non numeric senders have max length of 11 characters.", E_USER_WARNING); + trigger_error( + "Sender string too long, non numeric senders have max length of 11 characters.", + E_USER_WARNING + ); } // We do not truncate the sender as the API will do that and the developer might request the sender string back. $this->from = $sender; |