There was an error while loading. Please reload this page.
1 parent 0f2d174 commit 2e98cd6Copy full SHA for 2e98cd6
1 file changed
src/Sender.php
@@ -121,9 +121,7 @@ public function send()
121
if (Helper::numberValidation($this->getMobile()) == false) {
122
throw new ValidationException('Invalid Mobile Number');
123
}
124
- if (strlen($this->getMobile()) > 11 || strlen($this->getMobile()) < 11) {
125
- throw new ParameterException('Invalid mobile number. It should be 11 digit');
126
- }
+
127
if (empty($this->getMessage()))
128
throw new ParameterException('Message should not be empty');
129
0 commit comments