Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit a667206

Browse files
committed
fixed @return when returning this or static
1 parent 0582ad2 commit a667206

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Acl/Domain/ObjectIdentity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct($identifier, $type)
5252
*
5353
* @param object $domainObject
5454
*
55-
* @return ObjectIdentity
55+
* @return self
5656
*
5757
* @throws InvalidDomainObjectException
5858
*/

Acl/Domain/UserSecurityIdentity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct($username, $class)
5252
*
5353
* @param UserInterface $user
5454
*
55-
* @return UserSecurityIdentity
55+
* @return self
5656
*/
5757
public static function fromAccount(UserInterface $user)
5858
{
@@ -64,7 +64,7 @@ public static function fromAccount(UserInterface $user)
6464
*
6565
* @param TokenInterface $token
6666
*
67-
* @return UserSecurityIdentity
67+
* @return self
6868
*/
6969
public static function fromToken(TokenInterface $token)
7070
{

Acl/Permission/MaskBuilderInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface MaskBuilderInterface
2121
*
2222
* @param int $mask
2323
*
24-
* @return MaskBuilderInterface
24+
* @return $this
2525
*
2626
* @throws \InvalidArgumentException if $mask is not an integer
2727
*/
@@ -39,7 +39,7 @@ public function get();
3939
*
4040
* @param mixed $mask
4141
*
42-
* @return MaskBuilderInterface
42+
* @return $this
4343
*
4444
* @throws \InvalidArgumentException
4545
*/
@@ -50,7 +50,7 @@ public function add($mask);
5050
*
5151
* @param mixed $mask
5252
*
53-
* @return MaskBuilderInterface
53+
* @return $this
5454
*
5555
* @throws \InvalidArgumentException
5656
*/
@@ -59,7 +59,7 @@ public function remove($mask);
5959
/**
6060
* Resets the PermissionBuilder.
6161
*
62-
* @return MaskBuilderInterface
62+
* @return $this
6363
*/
6464
public function reset();
6565

0 commit comments

Comments
 (0)