Skip to content

Commit 82bbaa4

Browse files
committed
Removed LinkedIn::getUserId()
1 parent 050e14a commit 82bbaa4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/LinkedIn.php

-18
Original file line numberDiff line numberDiff line change
@@ -478,24 +478,6 @@ protected function setState($state)
478478
return $this;
479479
}
480480

481-
/**
482-
* Get the id of the current user.
483-
*
484-
* @return string|null returns null if no user found
485-
*
486-
* @deprecated will be removed in 0.6
487-
*/
488-
public function getUserId()
489-
{
490-
$user = $this->getUser();
491-
492-
if (isset($user['id'])) {
493-
return $user['id'];
494-
}
495-
496-
return;
497-
}
498-
499481
/**
500482
* Get the app id.
501483
*

0 commit comments

Comments
 (0)