Completed
Pull Request — master (#103)
by
unknown
02:58
created
src/Stichoza/GoogleTranslate/Tokens/GoogleTokenGenerator.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     private function unsignedRightShift($a, $b)
114 114
     {
115 115
         if ($b >= 32 || $b < -32) {
116
-            $m = (int)($b / 32);
116
+            $m = (int) ($b / 32);
117 117
             $b = $b - ($m * 32);
118 118
         }
119 119
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 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
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * http://stackoverflow.com/a/43359819/2953830
90 90
      *
91 91
      * @param $a
92
-     * @param $b
92
+     * @param integer $b
93 93
      *
94 94
      * @return number
95 95
      */
Please login to merge, or discard this patch.