diff --git a/src/Drivers/smsir.php b/src/Drivers/smsir.php index 5a95c49..5f3d413 100644 --- a/src/Drivers/smsir.php +++ b/src/Drivers/smsir.php @@ -162,7 +162,7 @@ private function setPatternExceptions() throw new \Exception('The data must have just one OTP code'); $mobile = $this->numbers; - if ($mobile = []) + if ($mobile == []) throw new \Exception('The mobile number must be set'); if (count($mobile) > 1) throw new \Exception('The OTP code must send to just one mobile number');