@@ -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 | */ |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | // @codingStandardsIgnoreFile |
| 7 | 7 | |
| 8 | 8 | use Codeception\Module\PhpBrowser; |
| 9 | -use Helper\Acceptance; |
|
| 10 | 9 | |
| 11 | 10 | trait AcceptanceTesterActions |
| 12 | 11 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | // @codingStandardsIgnoreFile |
| 7 | 7 | |
| 8 | 8 | use Codeception\Module\Asserts; |
| 9 | -use Helper\Unit; |
|
| 10 | 9 | |
| 11 | 10 | trait UnitTesterActions |
| 12 | 11 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | $url = $conf['url'] . '?' . http_build_query($query); |
| 47 | 47 | |
| 48 | 48 | $ch = curl_init(); |
| 49 | - curl_setopt($ch,CURLOPT_URL,$url); |
|
| 49 | + curl_setopt($ch, CURLOPT_URL, $url); |
|
| 50 | 50 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
| 51 | 51 | curl_setopt($ch, CURLOPT_TIMEOUT, 240); |
| 52 | 52 | $result = curl_exec($ch); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | $url = $conf['url'] . '/account?' . http_build_query($query); |
| 80 | 80 | |
| 81 | 81 | $ch = curl_init(); |
| 82 | - curl_setopt($ch,CURLOPT_URL,$url); |
|
| 82 | + curl_setopt($ch, CURLOPT_URL, $url); |
|
| 83 | 83 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
| 84 | 84 | curl_setopt($ch, CURLOPT_TIMEOUT, 240); |
| 85 | 85 | $result = curl_exec($ch); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SmsTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SmsTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SmsTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\SmsTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |