Completed
Push — master ( 81ea10...5035e2 )
by Bjørn
03:47
created
src/Convert/Converters/Wpc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
         parent::createOptions();
38 38
 
39 39
         $this->options2->addOptions(
40
-            new SensitiveStringOption('api-key', ''),   /* for communicating with wpc api v.1+ */
41
-            new SensitiveStringOption('secret', ''),    /* for communicating with wpc api v.0 */
40
+            new SensitiveStringOption('api-key', ''), /* for communicating with wpc api v.1+ */
41
+            new SensitiveStringOption('secret', ''), /* for communicating with wpc api v.0 */
42 42
             new SensitiveStringOption('api-url', ''),
43
-            new SensitiveStringOption('url', ''),       /* DO NOT USE. Only here to keep the protection */
43
+            new SensitiveStringOption('url', ''), /* DO NOT USE. Only here to keep the protection */
44 44
             new IntegerOption('api-version', 1, 0, 2),
45 45
             new BooleanOption('crypt-api-key-in-transfer', false)  /* new in api v.1 */
46 46
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ['.', '/']
64 64
         );
65 65
 
66
-        for ($i=0; $i<22; $i++) {
66
+        for ($i = 0; $i < 22; $i++) {
67 67
             $salt .= $validCharsForSalt[array_rand($validCharsForSalt)];
68 68
         }
69 69
         return $salt;
Please login to merge, or discard this patch.