Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 732deef

Browse files
iqbalhasandevgithub-actions[bot]
authored andcommitted
Fix styling
1 parent adf63a9 commit 732deef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Broadcasting/BulkSmsBdChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function send($notifiable, Notification $notification)
3535
BulkSmsBdOneToOne::dispatch($notificationArray[config('bulksmsbd.notification.contacts')], $notificationArray[config('bulksmsbd.notification.message')]);
3636
}
3737
} else {
38-
throw new \Exception(config('bulksmsbd.notification.contacts') . ' or ' . config('bulksmsbd.notification.message') . ' not found in Notification array.');
38+
throw new \Exception(config('bulksmsbd.notification.contacts').' or '.config('bulksmsbd.notification.message').' not found in Notification array.');
3939
}
4040
}
4141
}

src/BulkSmsBd.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ public function manyToMany(array $contacts)
168168
{
169169
foreach ($contacts as $key => $value) {
170170
// if message is not set or not string throw exception
171-
if ((!isset($value['message'])) || !is_string($value['message'])) {
171+
if ((! isset($value['message'])) || ! is_string($value['message'])) {
172172
throw new \Exception('Massage Not Valid', 1014);
173173
}
174174
// if to is not set or not valid number throw exception
175-
if ((!isset($value['to'])) || !\preg_match("/^(?:\+88|88)?(01[3-9]\d{8})$/", $value['to'])) {
175+
if ((! isset($value['to'])) || ! \preg_match("/^(?:\+88|88)?(01[3-9]\d{8})$/", $value['to'])) {
176176
throw new \Exception('Number Not Valid', 1012);
177177
}
178178
}

0 commit comments

Comments
 (0)