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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Acl.php
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ public function setRule($operation, $type, $roles = null, $resources = null,
*
* If either $role or $resource is null, then the query applies to all Roles or all Resources,
* respectively. Both may be null to query whether the ACL has a "blacklist" rule
* (allow everything to all). By default, Zend_Acl creates a "whitelist" rule (deny
* (allow everything to all). By default, Zend\Permissions\Acl creates a "whitelist" rule (deny
* everything to all), and this method would return false unless this default has
* been overridden (i.e., by executing $acl->allow()).
*
Expand Down Expand Up @@ -906,14 +906,14 @@ protected function roleDFSVisitOnePrivilege(Role\RoleInterface $role, Resource\R
) {
if (null === $privilege) {
/**
* @see Zend_Acl_Exception
* @see Zend\Permissions\Acl\Exception
*/
throw new Exception\RuntimeException('$privilege parameter may not be null');
}

if (null === $dfs) {
/**
* @see Zend_Acl_Exception
* @see Zend\Permissions\Acl\Exception
*/
throw new Exception\RuntimeException('$dfs parameter may not be null');
}
Expand Down

0 comments on commit c478319

Please sign in to comment.