We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba57ba commit cd6db67Copy full SHA for cd6db67
src/Client.php
@@ -119,9 +119,13 @@ public function setClientSecret($clientSecret)
119
}
120
121
/**
122
+ * Retrieve Access Token from LinkedIn if we have code provided.
123
+ * If code is not provided, return current Access Token.
124
+ * If current access token is not set, will return null
125
+ *
126
* @param string $code
127
*
- * @return \LinkedIn\AccessToken
128
+ * @return \LinkedIn\AccessToken|null
129
* @throws \LinkedIn\Exception
130
*/
131
public function getAccessToken($code = '')
0 commit comments