Completed
Pull Request — master (#93)
by
unknown
01:30
created
src/Stichoza/GoogleTranslate/TranslateClient.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,6 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Stichoza/GoogleTranslate/Tokens/GoogleTokenGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @param string $target Target language
18 18
      * @param string $text   Text to translate
19 19
      *
20
-     * @return mixed A token
20
+     * @return string A token
21 21
      */
22 22
     public function generateToken($source, $target, $text)
23 23
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      * http://stackoverflow.com/a/43359819/2953830
107 107
      *
108 108
      * @param $a
109
-     * @param $b
109
+     * @param integer $b
110 110
      *
111 111
      * @return number
112 112
      */
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * @param string $str
144 144
      * @param int    $index
145 145
      *
146
-     * @return null|number
146
+     * @return string
147 147
      */
148 148
     private function charCodeAt($str, $index)
149 149
     {
Please login to merge, or discard this patch.