@@ -232,6 +232,9 @@ |
||
| 232 | 232 | } |
| 233 | 233 | } |
| 234 | 234 | |
| 235 | + /** |
|
| 236 | + * @param string $provider_id |
|
| 237 | + */ |
|
| 235 | 238 | private function returnToCallbackUrl($provider_id) |
| 236 | 239 | { |
| 237 | 240 | // get the stored callback url |
@@ -65,6 +65,9 @@ |
||
| 65 | 65 | * @param string | null $email |
| 66 | 66 | * @param string | null $headline |
| 67 | 67 | * @param array | null $tags array of strings |
| 68 | + * @param string $gender |
|
| 69 | + * @param string $firstName |
|
| 70 | + * @param string $lastName |
|
| 68 | 71 | */ |
| 69 | 72 | public function __construct($provider, |
| 70 | 73 | $gender = null, |
@@ -35,6 +35,9 @@ |
||
| 35 | 35 | |
| 36 | 36 | private $debugMsg = ''; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string[] $matchList |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct($femaleNames = null, $malesNames = null, $merge = false, $matchList = null) |
| 39 | 42 | { |
| 40 | 43 | // Use the double_metaphone module if it's available, or fall back to the |
@@ -63,8 +63,8 @@ discard block |
||
| 63 | 63 | * @param ObjectManager $manager |
| 64 | 64 | * @param array $config |
| 65 | 65 | * @param bool $storeForUser |
| 66 | - * @param $storeAsCookie |
|
| 67 | - * @param $expiresInDays |
|
| 66 | + * @param boolean $storeAsCookie |
|
| 67 | + * @param integer $expiresInDays |
|
| 68 | 68 | */ |
| 69 | 69 | public function __construct(UrlGeneratorInterface $router, TokenStorageInterface $tokenStorage, ObjectManager $manager, $config, $storeForUser, $storeAsCookie, $expiresInDays) |
| 70 | 70 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * HybridAuthSessions will be restored from DB and/or cookies, according to the bundle configuration. |
| 87 | 87 | * |
| 88 | 88 | * @param $cookieSessionData |
| 89 | - * @param $provider |
|
| 89 | + * @param string $provider |
|
| 90 | 90 | * |
| 91 | 91 | * @return \Hybrid_Auth |
| 92 | 92 | */ |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | * @param string $provider_id |
| 214 | 214 | * @param bool $require_login |
| 215 | 215 | * |
| 216 | - * @return \Hybrid_Provider_Model |
|
| 216 | + * @return \Hybrid_Provider_Adapter |
|
| 217 | 217 | */ |
| 218 | 218 | public function getProvider($authSessionData, $provider_id, $require_login = true) |
| 219 | 219 | { |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * Get the Xing Adapter. |
| 247 | 247 | * |
| 248 | - * @return \Hybrid_Providers_XING |
|
| 248 | + * @return \Hybrid_Provider_Adapter |
|
| 249 | 249 | */ |
| 250 | 250 | public function getXing() |
| 251 | 251 | { |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | /** |
| 256 | 256 | * Get the Xing api (OAuthClient). |
| 257 | 257 | * |
| 258 | - * @return \OAuth1Client |
|
| 258 | + * @return \stdClass |
|
| 259 | 259 | */ |
| 260 | 260 | public function getXingApi() |
| 261 | 261 | { |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | /** |
| 266 | 266 | * Get the LinkedIn Adapter. |
| 267 | 267 | * |
| 268 | - * @return \Hybrid_Providers_LinkedIn |
|
| 268 | + * @return \Hybrid_Provider_Adapter |
|
| 269 | 269 | */ |
| 270 | 270 | public function getLinkedIn() |
| 271 | 271 | { |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | /** |
| 276 | 276 | * Get the LinkedIn api (LinkedIn PHP-client). |
| 277 | 277 | * |
| 278 | - * @return \LinkedIn |
|
| 278 | + * @return \stdClass |
|
| 279 | 279 | */ |
| 280 | 280 | public function getLinkedInApi() |
| 281 | 281 | { |
@@ -18,10 +18,10 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Guess the gender for a given firstname. The guesser will return an array with. |
| 20 | 20 | * |
| 21 | - * @param \string $firstName |
|
| 21 | + * @param string $firstName |
|
| 22 | 22 | * @param int $looseness |
| 23 | 23 | * |
| 24 | - * @return \string sex => m | f |
|
| 24 | + * @return string sex => m | f |
|
| 25 | 25 | */ |
| 26 | 26 | public function gender($firstName, $looseness = 1); |
| 27 | 27 | } |