Completed
Push — master ( 0125c3...461299 )
by Charles
02:00
created
models/redis/Token.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-     * @return sodium_crypto_sign_publickey
48
+     * @return string
49 49
      */
50 50
     public function getSignPublicKey()
51 51
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Generates a new auth and refresh token pair
57 57
      * @param int $userId
58
-     * @return array
58
+     * @return Token
59 59
      */
60 60
     public static function generate($userId = null)
61 61
     {
Please login to merge, or discard this patch.
filters/auth/HMACSignatureAuth.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,9 +135,9 @@
 block discarded – undo
135 135
 
136 136
         // Calculate the signature string
137 137
         $signatureString = hash('sha256', $body) . "\n" .
138
-                           $request->method . "+" . $request->getUrl() . "\n" .
139
-                           $request->getHeaders()->get(self::DATE_HEADER) . "\n" .
140
-                           \base64_encode($salt);
138
+                            $request->method . "+" . $request->getUrl() . "\n" .
139
+                            $request->getHeaders()->get(self::DATE_HEADER) . "\n" .
140
+                            \base64_encode($salt);
141 141
        
142 142
         Yii::debug([
143 143
             'message' => sprintf('Derived Signature String %s', $signatureString),
Please login to merge, or discard this patch.