Completed
Push — master ( 679073...d8b64b )
by Charles
01:52
created
api/models/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     
225 225
     /**
226 226
      * Provisions TOTP for the account
227
-     * @return boolean|string
227
+     * @return false|string
228 228
      */
229 229
     public function provisionOTP()
230 230
     {
Please login to merge, or discard this patch.
filters/auth/HMACSignatureAuth.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@  discard block
 block discarded – undo
87 87
      * @param string $accessToken
88 88
      * @param string $salt
89 89
      * @param \yii\web\request $request
90
+     * @param string $ikm
90 91
      * @return bool
91 92
      */
92 93
     private function isHMACSignatureValid($accessToken, $ikm, $salt, $request, $hmac = null)
@@ -152,7 +153,7 @@  discard block
 block discarded – undo
152 153
     
153 154
     /**
154 155
      * Gets the datetime drift that has occured since the request was sent
155
-     * @param yii\web\Request $request
156
+     * @param \yii\web\Request $request
156 157
      * @return int
157 158
      */
158 159
     private function getTimeDrift($request)
Please login to merge, or discard this patch.
api/forms/ResetPassword.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -94,6 +94,8 @@
 block discarded – undo
94 94
     /**
95 95
      * Validates the users OTP code, if they provided
96 96
      * @inheritdoc
97
+     * @param string $attributes
98
+     * @param string $params
97 99
      */
98 100
     public function validateOTP($attributes, $params)
99 101
     {
Please login to merge, or discard this patch.
api/actions/AuthenticationAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * Deauthenticates a user
41
-     * @return mixed
41
+     * @return boolean
42 42
      */
43 43
     public function delete($params)
44 44
     {
Please login to merge, or discard this patch.
api/actions/RegisterAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     /**
18 18
      * Handles registration of users
19
-     * @return mixed
19
+     * @return boolean
20 20
      */
21 21
     public function post($params)
22 22
     {
Please login to merge, or discard this patch.
api/models/Token.php 1 patch
Doc Comments   +2 added lines, -3 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,8 +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
-     * @param bool $pubkey
59
-     * @return array
58
+     * @return Token
60 59
      */
61 60
     public static function generate($userId = null)
62 61
     {
Please login to merge, or discard this patch.