@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace LBHurtado\EngageSpark; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Arr; |
|
| 6 | 5 | use GuzzleHttp\Client as HttpClient; |
| 6 | +use Illuminate\Support\Arr; |
|
| 7 | 7 | |
| 8 | 8 | class EngageSpark |
| 9 | 9 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * @param $mode |
|
| 81 | + * @param string $mode |
|
| 82 | 82 | * @return mixed |
| 83 | 83 | */ |
| 84 | 84 | public function getEndPoint($mode) |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace LBHurtado\EngageSpark; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Arr; |
|
| 6 | 5 | use Illuminate\Notifications\Notification; |
| 6 | +use Illuminate\Support\Arr; |
|
| 7 | 7 | |
| 8 | 8 | class EngageSparkChannel |
| 9 | 9 | { |
@@ -63,6 +63,9 @@ |
||
| 63 | 63 | return \is_array($to) ? $to : [$to]; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string[] $recipients |
|
| 68 | + */ |
|
| 66 | 69 | protected function sendMessage($recipients, EngageSparkMessage $message) |
| 67 | 70 | { |
| 68 | 71 | $this->setMode($message); |