@@ -155,6 +155,7 @@ discard block |
||
155 | 155 | * Find element in HTML Dom |
156 | 156 | * |
157 | 157 | * @param string $content - content to be searched through |
158 | + * @param integer $nth |
|
158 | 159 | * @return object |
159 | 160 | */ |
160 | 161 | private function find($content, $selector, $nth = null) |
@@ -204,6 +205,7 @@ discard block |
||
204 | 205 | * Check whether errors have been returned |
205 | 206 | * |
206 | 207 | * @param string $content - response body of a request |
208 | + * @param string $selector |
|
207 | 209 | * @return boolean - false if an element described by the selector exists |
208 | 210 | */ |
209 | 211 | private function check($content, $selector) |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * @param string $recipient - number of the recipient (9 digits without leading zero for national numbers e.g. 501234567; two leading zeros followed by prefix for international numbers e.g. 004912345678901; no spaces or special chars) |
108 | 108 | * @param string $text - content of the SMS |
109 | 109 | */ |
110 | - // TODO: check number of recipient for validaty |
|
110 | + // TODO: check number of recipient for validaty |
|
111 | 111 | public function send($recipient, $text) |
112 | 112 | { |
113 | 113 | if (strlen($text) <= 0 || strlen($text) > $this->max_length) { |