We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07dacc5 commit 964d063Copy full SHA for 964d063
classes/SMSMessage.php
@@ -203,7 +203,7 @@ public function binary($blBinary)
203
204
public function category($intCategory)
205
{
206
- if (!(Validator::numeric()->notEmpty()->length(3)->validate($intCategory))) {
+ if (!(Validator::numeric()->notEmpty()->length(3, 3)->validate($intCategory))) {
207
$this->objLogger->addError('Category must be a numeric string with a length of 3.');
208
209
throw new SMSMessageException('Category must be a numeric string with a length of 3.');
0 commit comments