Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/3808'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Rbac.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ public function getRole($objectOrName)
/**
* Determines if access is granted by checking the role and child roles for permission.
*
* @param string $permission
* @param \Zend\Permissions\Rbac\AssertionInterface|Callable|null $assert
* @param string $permission
* @param \Zend\Permissions\Rbac\AssertionInterface|Callable|null $assert
* @return bool
*/
public function isGranted($role, $permission, $assert = null)
{
Expand Down

0 comments on commit 9515119

Please sign in to comment.