diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-12-26 08:50:27 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-12-27 08:23:47 +0100 |
commit | a6672062532c57fe197601c1082e3daae7b9db01 (patch) | |
tree | f9def25cdeaeafb932c8844295ba80cbad11f173 | |
parent | 0582ad240b9aa4b86945b3fdee0f84b20eb0856f (diff) | |
download | symfony-security-a6672062532c57fe197601c1082e3daae7b9db01.zip symfony-security-a6672062532c57fe197601c1082e3daae7b9db01.tar.gz symfony-security-a6672062532c57fe197601c1082e3daae7b9db01.tar.bz2 |
fixed @return when returning this or static
-rw-r--r-- | Acl/Domain/ObjectIdentity.php | 2 | ||||
-rw-r--r-- | Acl/Domain/UserSecurityIdentity.php | 4 | ||||
-rw-r--r-- | Acl/Permission/MaskBuilderInterface.php | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Acl/Domain/ObjectIdentity.php b/Acl/Domain/ObjectIdentity.php index ec817e2..d2f353e 100644 --- a/Acl/Domain/ObjectIdentity.php +++ b/Acl/Domain/ObjectIdentity.php @@ -52,7 +52,7 @@ final class ObjectIdentity implements ObjectIdentityInterface * * @param object $domainObject * - * @return ObjectIdentity + * @return self * * @throws InvalidDomainObjectException */ diff --git a/Acl/Domain/UserSecurityIdentity.php b/Acl/Domain/UserSecurityIdentity.php index ea17c63..5766148 100644 --- a/Acl/Domain/UserSecurityIdentity.php +++ b/Acl/Domain/UserSecurityIdentity.php @@ -52,7 +52,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface * * @param UserInterface $user * - * @return UserSecurityIdentity + * @return self */ public static function fromAccount(UserInterface $user) { @@ -64,7 +64,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface * * @param TokenInterface $token * - * @return UserSecurityIdentity + * @return self */ public static function fromToken(TokenInterface $token) { diff --git a/Acl/Permission/MaskBuilderInterface.php b/Acl/Permission/MaskBuilderInterface.php index ef183de..98184c5 100644 --- a/Acl/Permission/MaskBuilderInterface.php +++ b/Acl/Permission/MaskBuilderInterface.php @@ -21,7 +21,7 @@ interface MaskBuilderInterface * * @param int $mask * - * @return MaskBuilderInterface + * @return $this * * @throws \InvalidArgumentException if $mask is not an integer */ @@ -39,7 +39,7 @@ interface MaskBuilderInterface * * @param mixed $mask * - * @return MaskBuilderInterface + * @return $this * * @throws \InvalidArgumentException */ @@ -50,7 +50,7 @@ interface MaskBuilderInterface * * @param mixed $mask * - * @return MaskBuilderInterface + * @return $this * * @throws \InvalidArgumentException */ @@ -59,7 +59,7 @@ interface MaskBuilderInterface /** * Resets the PermissionBuilder. * - * @return MaskBuilderInterface + * @return $this */ public function reset(); |