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

Commit

Permalink
Merge pull request zendframework/zendframework#1981 from Maks3w/hotfi…
Browse files Browse the repository at this point in the history
…x/zend_acl-references

Rename Zend\Acl to Zend\Permissions\Acl
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helper/Navigation/AbstractHelper.php
Expand Up @@ -351,7 +351,7 @@ public function setRole($role = null)
} else {
throw new Exception\InvalidArgumentException(sprintf(
'$role must be a string, null, or an instance of '
. 'Zend\Acl\Role\RoleInterface; %s given',
. 'Zend\Permissions\Role\RoleInterface; %s given',
(is_object($role) ? get_class($role) : gettype($role))
));
}
Expand Down Expand Up @@ -861,7 +861,7 @@ public static function setDefaultRole($role = null)
self::$defaultRole = $role;
} else {
throw new Exception\InvalidArgumentException(sprintf(
'$role must be null|string|Zend\Acl\Role\RoleInterface; received "%s"',
'$role must be null|string|Zend\Permissions\Role\RoleInterface; received "%s"',
(is_object($role) ? get_class($role) : gettype($role))
));
}
Expand Down

0 comments on commit a0dfc1a

Please sign in to comment.