@@ -245,12 +245,12 @@ |
||
245 | 245 | * This can be called from instance method translate() using __call() magic method. |
246 | 246 | * Use $instance->translate($string) instead. |
247 | 247 | * |
248 | - * @param string $data Text or array of texts to translate |
|
249 | 248 | * |
250 | 249 | * @throws InvalidArgumentException If the provided argument is not of type 'string' |
251 | 250 | * @throws ErrorException If the HTTP request fails |
252 | 251 | * @throws UnexpectedValueException If received data cannot be decoded |
253 | 252 | * |
253 | + * @param string $string |
|
254 | 254 | * @return string|bool Translated text |
255 | 255 | */ |
256 | 256 | protected function translateText($string) |