Skip to content

Commit cd6db67

Browse files
authored
Update Client.php
1 parent 0ba57ba commit cd6db67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Client.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,13 @@ public function setClientSecret($clientSecret)
119119
}
120120

121121
/**
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+
*
122126
* @param string $code
123127
*
124-
* @return \LinkedIn\AccessToken
128+
* @return \LinkedIn\AccessToken|null
125129
* @throws \LinkedIn\Exception
126130
*/
127131
public function getAccessToken($code = '')

0 commit comments

Comments
 (0)