Completed
Push — master ( 5dc9a2...97e8aa )
by Levan
23s
created
src/Tokens/GoogleTokenGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         }
56 56
         $a = fmod($a, 1000000);
57 57
 
58
-        return $a . '.' . ($a ^ $tkk[0]);
58
+        return $a.'.'.($a ^ $tkk[0]);
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.
src/GoogleTranslate.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -56,15 +56,15 @@  discard block
 block discarded – undo
56 56
         'client'   => 'gtx',
57 57
         'hl'       => 'en',
58 58
         'dt'       => [
59
-            't',   // Translate
60
-            'bd',  // Full translate with synonym ($bodyArray[1])
61
-            'at',  // Other translate ($bodyArray[5] - in google translate page this shows when click on translated word)
62
-            'ex',  // Example part ($bodyArray[13])
63
-            'ld',  // I don't know ($bodyArray[8])
64
-            'md',  // Definition part with example ($bodyArray[12])
59
+            't', // Translate
60
+            'bd', // Full translate with synonym ($bodyArray[1])
61
+            'at', // Other translate ($bodyArray[5] - in google translate page this shows when click on translated word)
62
+            'ex', // Example part ($bodyArray[13])
63
+            'ld', // I don't know ($bodyArray[8])
64
+            'md', // Definition part with example ($bodyArray[12])
65 65
             'qca', // I don't know ($bodyArray[8])
66
-            'rw',  // Read also part ($bodyArray[14])
67
-            'rm',  // I don't know
66
+            'rw', // Read also part ($bodyArray[14])
67
+            'rm', // I don't know
68 68
             'ss'   // Full synonym ($bodyArray[11])
69 69
         ],
70 70
         'sl'       => null, // Source language
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
         }
277 277
 
278 278
         if (is_array($responseArray[0])) {
279
-            return (string) array_reduce($responseArray[0], static function ($carry, $item) {
279
+            return (string) array_reduce($responseArray[0], static function($carry, $item) {
280 280
                 $carry .= $item[0];
281 281
                 return $carry;
282 282
             });
Please login to merge, or discard this patch.