Skip to content
Browse files

Merge pull request #3 from pborreli/typos

Fixed Typos
  • Loading branch information...
2 parents a46a87d + 6834e73 commit 6f5c9662086ef7ab46a51e4517a4363835918000 @jmikola committed
View
2 README.md
@@ -7,5 +7,5 @@ login functionality in email and newsletter links.
## Compatibility
This library's master branch maintains compatibility with Symfony2's master
-branch. There is no alternate branch for 2.0.x compatilibity.
+branch. There is no alternate branch for 2.0.x compatibility.
View
2 src/Jmikola/AutoLogin/Authentication/Provider/AutoLoginProvider.php
@@ -27,6 +27,8 @@ class AutoLoginProvider implements AuthenticationProviderInterface
* @param UserCheckerInterface $userChecker
* @param string $providerKey
* @param AutoLoginUserProviderInterface $autoLoginUserProvider
+ *
+ * @throws \InvalidArgumentException When $autoLoginUserProvider is null and $userProvider not suitable
*/
public function __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey, AutoLoginUserProviderInterface $autoLoginUserProvider = null)
{
View
4 src/Jmikola/AutoLogin/Authentication/Token/AutoLoginToken.php
@@ -13,8 +13,10 @@ class AutoLoginToken extends AbstractToken
* Constructor.
*
* @param string $providerKey
- * @param string $autoLoginToken
+ * @param string $key
* @param array $roles
+ *
+ * @throws \InvalidArgumentException When $providerKey is empty
*/
public function __construct($providerKey, $key = null, array $roles = array())
{
View
2 src/Jmikola/AutoLogin/User/AutoLoginUserProviderInterface.php
@@ -10,7 +10,7 @@
* This method must throw AutoLoginTokenNotFoundException if the user is not
* found.
*
- * @param string $autoLoginToken
+ * @param string $key
* @return UserInterface
* @throws AutoLoginTokenNotFoundException if the user is not found
*/

0 comments on commit 6f5c966

Please sign in to comment.
Something went wrong with that request. Please try again.