@@ -390,7 +390,7 @@ |
||
| 390 | 390 | return $responseArray; |
| 391 | 391 | } else { |
| 392 | 392 | if (is_array($responseArray[0])) { |
| 393 | - return array_reduce($responseArray[0], function ($carry, $item) { |
|
| 393 | + return array_reduce($responseArray[0], function($carry, $item) { |
|
| 394 | 394 | $carry .= $item[0]; |
| 395 | 395 | |
| 396 | 396 | return $carry; |
@@ -213,7 +213,6 @@ |
||
| 213 | 213 | /** |
| 214 | 214 | * Set the api we are used to translete. |
| 215 | 215 | * |
| 216 | - * @param string $source Google translate api, default is https://translate.google.com/translate_a/single |
|
| 217 | 216 | * |
| 218 | 217 | * @return TranslateClient |
| 219 | 218 | */ |