@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | * @param ObjectManager $manager |
63 | 63 | * @param array $config |
64 | 64 | * @param bool $storeForUser |
65 | - * @param $storeAsCookie |
|
66 | - * @param $expiresInDays |
|
65 | + * @param boolean $storeAsCookie |
|
66 | + * @param integer $expiresInDays |
|
67 | 67 | */ |
68 | 68 | public function __construct(UrlGeneratorInterface $router, TokenStorageInterface $tokenStorage, ObjectManager $manager, $config, $storeForUser, $storeAsCookie, $expiresInDays){ |
69 | 69 | $base_url = $router->generate($config[AzineHybridAuthExtension::ENDPOINT_ROUTE], array(), UrlGeneratorInterface::ABSOLUTE_URL); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * HybridAuthSessions will be restored from DB and/or cookies, according to the bundle configuration. |
86 | 86 | * |
87 | 87 | * @param $cookieSessionData |
88 | - * @param $provider |
|
88 | + * @param string $provider |
|
89 | 89 | * @return \Hybrid_Auth |
90 | 90 | */ |
91 | 91 | public function getInstance($cookieSessionData, $provider){ |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * @param $authSessionData |
204 | 204 | * @param string $provider_id |
205 | 205 | * @param boolean $require_login |
206 | - * @return \Hybrid_Provider_Model |
|
206 | + * @return \Hybrid_Provider_Adapter |
|
207 | 207 | */ |
208 | 208 | public function getProvider($authSessionData, $provider_id, $require_login = true){ |
209 | 209 | $adapter = $this->getInstance($authSessionData, $provider_id)->getAdapter($provider_id); |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | |
229 | 229 | /** |
230 | 230 | * Get the Xing Adapter |
231 | - * @return \Hybrid_Providers_XING |
|
231 | + * @return \Hybrid_Provider_Adapter |
|
232 | 232 | */ |
233 | 233 | public function getXing(){ |
234 | 234 | return $this->getProvider(null, "xing"); |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | /** |
238 | 238 | * Get the Xing api (OAuthClient) |
239 | 239 | * |
240 | - * @return \OAuth1Client |
|
240 | + * @return \stdClass |
|
241 | 241 | */ |
242 | 242 | public function getXingApi(){ |
243 | 243 | return $this->getXing()->api(); |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | /** |
247 | 247 | * Get the LinkedIn Adapter |
248 | 248 | * |
249 | - * @return \Hybrid_Providers_LinkedIn |
|
249 | + * @return \Hybrid_Provider_Adapter |
|
250 | 250 | */ |
251 | 251 | public function getLinkedIn(){ |
252 | 252 | return $this->getProvider(null, "linkedin"); |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | /** |
256 | 256 | * Get the LinkedIn api (LinkedIn PHP-client) |
257 | 257 | * |
258 | - * @return \LinkedIn |
|
258 | + * @return \stdClass |
|
259 | 259 | */ |
260 | 260 | public function getLinkedInApi(){ |
261 | 261 | return $this->getLinkedIn()->api(); |