File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function getUserParams(Mage_Api2_Model_Request $request)
52
52
* Validate the OAuth2 token
53
53
*
54
54
* @param Mage_Api2_Model_Request $request
55
- * @return Mage_Oauth2_Model_Token
55
+ * @return Mage_Oauth2_Model_AccessToken
56
56
* @throws Exception
57
57
*/
58
58
protected function _validateToken (Mage_Api2_Model_Request $ request )
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ public function generateClientSecret($length = 40)
17
17
/**
18
18
* Generate a token
19
19
*
20
- * @param string $clientId The client ID
21
20
* @param int $length The length of the token (default: 40)
22
21
* @return string The generated token
23
22
* @throws Exception if unable to generate random bytes
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ protected function _construct()
13
13
/**
14
14
* Get user type associated with the token
15
15
*
16
- * @return string
16
+ * @return string|null
17
17
* @throws Mage_Core_Exception
18
18
*/
19
19
public function getUserType ()
You can’t perform that action at this time.
0 commit comments