Completed
Push — master ( c8b416...5bed71 )
by Charles
02:39
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.
components/Queue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Adds client connections
24 24
      * @param array $clients
25
-     * @return true
25
+     * @return boolean
26 26
      */
27 27
     public function setClients($clients = [])
28 28
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * Retrieves the queue
38
-     * @return Disque\Client
38
+     * @return Client
39 39
      */
40 40
     public function get()
41 41
     {
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      * Generates a new auth and refresh token pair
48 48
      * @param int $userId
49 49
      * @param bool $pubkey
50
-     * @return array
50
+     * @return Token
51 51
      */
52 52
     public static function generate($userId = null, $pubkey = null)
53 53
     {
Please login to merge, or discard this patch.
api/models/TokenKeyPair.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return \Sodium\crypto_box_publickey
51
+     * @return string
52 52
      */
53 53
     public function getBoxPublicKey()
54 54
     {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @return \Sodium\crypto_sign_publickey
59
+     * @return string
60 60
      */
61 61
     public function getSignPublicKey()
62 62
     {
@@ -86,6 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Generates a new crypt token
88 88
      * @param int $type
89
+     * @param boolean $pubkey
89 90
      * @return $array
90 91
      */
91 92
     public static function generate($type = TokenKeyPair::DEFAULT_TYPE, $pubkey = null)
Please login to merge, or discard this patch.