@@ -37,8 +37,9 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * This function sends the SMS. |
| 39 | 39 | * |
| 40 | - * @param $phoneNumber - the mobile number |
|
| 41 | - * @param $message - the message |
|
| 40 | + * @param string $phoneNumber - the mobile number |
|
| 41 | + * @param string $message - the message |
|
| 42 | + * @return string |
|
| 42 | 43 | */ |
| 43 | 44 | public function send($phoneNumber, $message) |
| 44 | 45 | { |
@@ -94,8 +95,8 @@ discard block |
||
| 94 | 95 | * standardizes the responses of each. |
| 95 | 96 | * |
| 96 | 97 | * @param $code - the response code |
| 97 | - * @param null $message - an optional message aside from the default ones |
|
| 98 | - * @param null $provider - the SMS provider used. Should only be enabled during debug mode. |
|
| 98 | + * @param null|string $message - an optional message aside from the default ones |
|
| 99 | + * @param string $provider - the SMS provider used. Should only be enabled during debug mode. |
|
| 99 | 100 | * |
| 100 | 101 | * @return string $response - the JSON formatted response. |
| 101 | 102 | */ |