Skip to content

Commit b9d1737

Browse files
GrahamCampbellfabpot
authored andcommitted
[2.3] CS And DocBlock Fixes
1 parent bdcb647 commit b9d1737

File tree

9 files changed

+13
-11
lines changed

9 files changed

+13
-11
lines changed

Authentication/AuthenticationTrustResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AuthenticationTrustResolver implements AuthenticationTrustResolverInterfac
2424
private $rememberMeClass;
2525

2626
/**
27-
* Constructor
27+
* Constructor.
2828
*
2929
* @param string $anonymousClass
3030
* @param string $rememberMeClass

Authentication/RememberMe/PersistentToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class PersistentToken implements PersistentTokenInterface
2525
private $lastUsed;
2626

2727
/**
28-
* Constructor
28+
* Constructor.
2929
*
3030
* @param string $class
3131
* @param string $username

Authentication/RememberMe/PersistentTokenInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* Interface to be implemented by persistent token classes (such as
16-
* Doctrine entities representing a remember-me token)
16+
* Doctrine entities representing a remember-me token).
1717
*
1818
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
1919
*/

Authentication/RememberMe/TokenProviderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Security\Core\Exception\TokenNotFoundException;
1515

1616
/**
17-
* Interface for TokenProviders
17+
* Interface for TokenProviders.
1818
*
1919
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2020
*/

Encoder/BCryptPasswordEncoder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function __construct($cost)
5252
* It doesn't work with PHP versions lower than 5.3.7, since
5353
* the password compat library uses CRYPT_BLOWFISH hash type with
5454
* the "$2y$" salt prefix (which is not available in the early PHP versions).
55+
*
5556
* @see https://github.com/ircmaxell/password_compat/issues/10#issuecomment-11203833
5657
*
5758
* It is almost best to **not** pass a salt and let PHP generate one for you.

Encoder/EncoderFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Core\Encoder;
1313

1414
/**
15-
* A generic encoder factory implementation
15+
* A generic encoder factory implementation.
1616
*
1717
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
1818
*/
@@ -46,7 +46,7 @@ public function getEncoder($user)
4646
}
4747

4848
/**
49-
* Creates the actual encoder instance
49+
* Creates the actual encoder instance.
5050
*
5151
* @param array $config
5252
*

User/UserProviderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ interface UserProviderInterface
4646
* @see UsernameNotFoundException
4747
*
4848
* @throws UsernameNotFoundException if the user is not found
49-
*
5049
*/
5150
public function loadUserByUsername($username);
5251

@@ -57,6 +56,7 @@ public function loadUserByUsername($username);
5756
* totally reloaded (e.g. from the database), or if the UserInterface
5857
* object can just be merged into some internal array of users / identity
5958
* map.
59+
*
6060
* @param UserInterface $user
6161
*
6262
* @return UserInterface
@@ -66,7 +66,7 @@ public function loadUserByUsername($username);
6666
public function refreshUser(UserInterface $user);
6767

6868
/**
69-
* Whether this provider supports the given user class
69+
* Whether this provider supports the given user class.
7070
*
7171
* @param string $class
7272
*

Util/ClassUtils.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ class ClassUtils
3030
const MARKER = '__CG__';
3131

3232
/**
33-
* Length of the proxy marker
33+
* Length of the proxy marker.
3434
*
3535
* @var int
3636
*/
3737
const MARKER_LENGTH = 6;
3838

3939
/**
40-
* This class should not be instantiated
40+
* This class should not be instantiated.
4141
*/
4242
private function __construct()
4343
{
@@ -47,6 +47,7 @@ private function __construct()
4747
* Gets the real class name of a class name that could be a proxy.
4848
*
4949
* @param string|object
50+
*
5051
* @return string
5152
*/
5253
public static function getRealClass($object)

Util/StringUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class StringUtils
2020
{
2121
/**
22-
* This class should not be instantiated
22+
* This class should not be instantiated.
2323
*/
2424
private function __construct()
2525
{

0 commit comments

Comments
 (0)