Completed
Pull Request — master (#143)
by
unknown
01:13
created
src/Tokens/GoogleTokenGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * http://stackoverflow.com/a/43359819/2953830
106 106
      *
107 107
      * @param $a
108
-     * @param $b
108
+     * @param integer $b
109 109
      *
110 110
      * @return number
111 111
      */
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * @param string $str
143 143
      * @param int    $index
144 144
      *
145
-     * @return number
145
+     * @return string
146 146
      */
147 147
     private function JS_charCodeAt($str, $index) {
148 148
         $utf16 = mb_convert_encoding($str, 'UTF-16LE', 'UTF-8');
Please login to merge, or discard this patch.
src/GoogleTranslate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Stichoza\GoogleTranslate;
4 4
 
5
-use BadMethodCallException;
6 5
 use ErrorException;
7 6
 use GuzzleHttp\Client;
8 7
 use GuzzleHttp\Exception\RequestException;
Please login to merge, or discard this patch.