Completed
Pull Request — master (#4)
by
unknown
07:36
created
Services/AzineHybridAuth.php 1 patch
Doc Comments   +8 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,12 +59,11 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @param UrlGeneratorInterface $router
61 61
 	 * @param UserInterface $user
62
-	 * @param TokenStorageInterface $tokenStorage
63 62
 	 * @param ObjectManager $manager
64 63
 	 * @param array $config
65 64
 	 * @param bool $storeForUser
66
-	 * @param $storeAsCookie
67
-	 * @param $expiresInDays
65
+	 * @param boolean $storeAsCookie
66
+	 * @param integer $expiresInDays
68 67
 	 */
69 68
 	public function __construct(UrlGeneratorInterface $router, UserInterface $user, ObjectManager $manager, $config, $storeForUser, $storeAsCookie, $expiresInDays){
70 69
 		$base_url = $router->generate($config[AzineHybridAuthExtension::ENDPOINT_ROUTE], array(), UrlGeneratorInterface::ABSOLUTE_URL);
@@ -83,7 +82,7 @@  discard block
 block discarded – undo
83 82
 	 * HybridAuthSessions will be restored from DB and/or cookies, according to the bundle configuration.
84 83
 	 *
85 84
 	 * @param $cookieSessionData
86
-	 * @param $provider
85
+	 * @param string $provider
87 86
 	 * @return \Hybrid_Auth
88 87
 	 */
89 88
 	public function getInstance($cookieSessionData, $provider){
@@ -201,7 +200,7 @@  discard block
 block discarded – undo
201 200
 	 * @param $authSessionData
202 201
 	 * @param string $provider_id
203 202
 	 * @param boolean $require_login
204
-	 * @return \Hybrid_Provider_Model
203
+	 * @return \Hybrid_Provider_Adapter
205 204
 	 */
206 205
 	public function getProvider($authSessionData, $provider_id, $require_login = true){
207 206
 		$adapter = $this->getInstance($authSessionData, $provider_id)->getAdapter($provider_id);
@@ -226,7 +225,7 @@  discard block
 block discarded – undo
226 225
 	
227 226
 	/**
228 227
      * Get the Xing Adapter
229
-     * @return \Hybrid_Providers_XING
228
+     * @return \Hybrid_Provider_Adapter
230 229
      */
231 230
 	public function getXing(){
232 231
 		return $this->getProvider(null, "xing");
@@ -235,7 +234,7 @@  discard block
 block discarded – undo
235 234
 	/**
236 235
 	 * Get the Xing api (OAuthClient)
237 236
 	 *
238
-	 * @return \OAuth1Client
237
+	 * @return \stdClass
239 238
 	 */
240 239
 	public function getXingApi(){
241 240
 		return $this->getXing()->api();
@@ -244,7 +243,7 @@  discard block
 block discarded – undo
244 243
 	/**
245 244
 	 * Get the LinkedIn Adapter
246 245
 	 *
247
-	 * @return \Hybrid_Providers_LinkedIn
246
+	 * @return \Hybrid_Provider_Adapter
248 247
 	 */
249 248
 	public function getLinkedIn(){
250 249
 		return $this->getProvider(null, "linkedin");
@@ -253,7 +252,7 @@  discard block
 block discarded – undo
253 252
     /**
254 253
      * Get the LinkedIn api (LinkedIn PHP-client)
255 254
      *
256
-     * @return \LinkedIn
255
+     * @return \stdClass
257 256
      */
258 257
 	public function getLinkedInApi(){
259 258
 		return $this->getLinkedIn()->api();
Please login to merge, or discard this patch.