diff --git a/src/RequestData.php b/src/RequestData.php index 0ab0948..88ec228 100644 --- a/src/RequestData.php +++ b/src/RequestData.php @@ -53,7 +53,7 @@ public function ensureAttributes(array &$attributes) $attributes['IsUnicode'] = $attributes['IsUnicode'] ?? 1; $attributes['Sandbox'] = $attributes['IsUnicode'] ?? 0; - if ($attributes['SmsType'] === 1 or $attributes['SmsType'] === 2) { + if ($attributes['SmsType'] === 1 || $attributes['SmsType'] === 2) { $this->addRule(['Brandname'], 'required'); } }