Skip to content

Commit 979cd18

Browse files
authored
Update RoleInterface.php
1 parent ab92415 commit 979cd18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/RoleInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ public function getPermissions(): iterable ;
1414
/**
1515
* @return $this
1616
*/
17-
public function associate(string|PermissionInterface $permissionId): RoleInterface ;
17+
public function associate(string|PermissionInterface $permission): RoleInterface ;
1818

1919
/**
2020
* @return $this
2121
*/
22-
public function dissociate(string|PermissionInterface $permissionId): RoleInterface ;
22+
public function dissociate(string|PermissionInterface $permission): RoleInterface ;
2323

24-
public function has(string $permissionId): bool ;
24+
public function has(string|PermissionInterface $permission): bool ;
2525
}

0 commit comments

Comments
 (0)