| @@ -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 | 
| @@ -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 | } | 
| @@ -7,7 +7,6 @@ | ||
| 7 | 7 | use Symfony\Component\HttpFoundation\RedirectResponse; | 
| 8 | 8 | use Symfony\Component\HttpFoundation\Request; | 
| 9 | 9 | use Symfony\Component\HttpFoundation\Response; | 
| 10 | -use Hybridauth\HttpClient\Util; | |
| 11 | 10 | |
| 12 | 11 | class HybridEndPointController extends Controller | 
| 13 | 12 |  { | 
| @@ -51,6 +51,9 @@ | ||
| 51 | 51 | return $response; | 
| 52 | 52 | } | 
| 53 | 53 | |
| 54 | + /** | |
| 55 | + * @param string $provider | |
| 56 | + */ | |
| 54 | 57 | private function returnToCallbackUrl(AbstractAdapter $adapter, $provider) | 
| 55 | 58 |      { | 
| 56 | 59 | // get the stored callback url | 
| @@ -64,8 +64,8 @@ discard block | ||
| 64 | 64 | * @param ObjectManager $manager | 
| 65 | 65 | * @param array $config | 
| 66 | 66 | * @param bool $storeForUser | 
| 67 | - * @param $storeAsCookie | |
| 68 | - * @param $expiresInDays | |
| 67 | + * @param boolean $storeAsCookie | |
| 68 | + * @param integer $expiresInDays | |
| 69 | 69 | */ | 
| 70 | 70 | public function __construct(UrlGeneratorInterface $router, TokenStorageInterface $tokenStorage, ObjectManager $manager, $config, $storeForUser, $storeAsCookie, $expiresInDays) | 
| 71 | 71 |      { | 
| @@ -88,7 +88,7 @@ discard block | ||
| 88 | 88 | * HybridAuthSessions will be restored from DB and/or cookies, according to the bundle configuration. | 
| 89 | 89 | * | 
| 90 | 90 | * @param $cookieSessionData | 
| 91 | - * @param $provider | |
| 91 | + * @param string $provider | |
| 92 | 92 | * | 
| 93 | 93 | * @return \Hybridauth\Adapter\AdapterInterface | 
| 94 | 94 | */ | 
| @@ -252,7 +252,7 @@ discard block | ||
| 252 | 252 | /** | 
| 253 | 253 | * Get the LinkedIn Adapter. | 
| 254 | 254 | * | 
| 255 | - * @return \Hybrid_Providers_LinkedIn | |
| 255 | + * @return \Hybridauth\Adapter\AdapterInterface | |
| 256 | 256 | */ | 
| 257 | 257 | public function getLinkedIn() | 
| 258 | 258 |      { |