Completed
Branch master (d7035c)
by Charles
03:27
created
api/actions/AuthenticationAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * Deauthenticates a user
46
-     * @return mixed
46
+     * @return boolean
47 47
      */
48 48
     public static function delete($params)
49 49
     {
Please login to merge, or discard this patch.
api/actions/RegistrationAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * [POST] /api/[...]/register
19 19
      * Handles registration of users
20
-     * @return mixed
20
+     * @return boolean
21 21
      */
22 22
     public static function post($params)
23 23
     {
Please login to merge, or discard this patch.
api/forms/Login.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * Validates the users' password and OTP code
74
-     * @param array $attributes
74
+     * @param array $attribute
75 75
      * @param array $params
76 76
      */
77 77
     public function validatePasswordAndOTP($attribute, $params)
Please login to merge, or discard this patch.
api/models/Token.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,6 @@
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * Retrieves an instance of self
100
-     * @param string $tokenString   The string access token
101 100
      * @return Token|null
102 101
      */
103 102
     public static function find(array $params = [])
Please login to merge, or discard this patch.
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
@@ -86,7 +86,8 @@
 block discarded – undo
86 86
      * @param string $hmac
87 87
      * @param string $accessToken
88 88
      * @param string $salt
89
-     * @param yii\web\request $request
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)
Please login to merge, or discard this patch.