Closed
Description
Hi everybody,
looks like the validate method for the to field of the SmsParams does not recognize when the passed target numbers are an empty string. to(): method of SmsRules is checking for a string and not for an array as far as I can see.
// Setting up and testing params
$smsParams = new SmsParams($message, '');
$smsResource->validate($smsParams);
Should throw an exception?
Greetins Michael
Metadata
Metadata
Assignees
Labels
No labels