summaryrefslogtreecommitdiffstats
path: root/Acl
diff options
context:
space:
mode:
Diffstat (limited to 'Acl')
-rw-r--r--Acl/Dbal/AclProvider.php6
-rw-r--r--Acl/Domain/Acl.php2
2 files changed, 5 insertions, 3 deletions
diff --git a/Acl/Dbal/AclProvider.php b/Acl/Dbal/AclProvider.php
index 6e05fa9..e57929e 100644
--- a/Acl/Dbal/AclProvider.php
+++ b/Acl/Dbal/AclProvider.php
@@ -374,6 +374,7 @@ QUERY;
* including the ids of parent ACLs.
*
* @param array $batch
+ *
* @return array
*/
private function getAncestorIds(array $batch)
@@ -394,7 +395,7 @@ QUERY;
* Does either overwrite the passed ACE, or saves it in the global identity
* map to ensure every ACE only gets instantiated once.
*
- * @param array $aces
+ * @param array &$aces
*/
private function doUpdateAceIdentityMap(array &$aces)
{
@@ -445,7 +446,8 @@ QUERY;
* @throws \RuntimeException
* @return \SplObjectStorage
*/
- private function hydrateObjectIdentities(Statement $stmt, array $oidLookup, array $sids) {
+ private function hydrateObjectIdentities(Statement $stmt, array $oidLookup, array $sids)
+ {
$parentIdToFill = new \SplObjectStorage();
$acls = $aces = $emptyArray = array();
$oidCache = $oidLookup;
diff --git a/Acl/Domain/Acl.php b/Acl/Domain/Acl.php
index e5cb99d..4a4a2e2 100644
--- a/Acl/Domain/Acl.php
+++ b/Acl/Domain/Acl.php
@@ -579,7 +579,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
/**
* Updates auditing for an ACE
*
- * @param array $aces
+ * @param array &$aces
* @param integer $index
* @param Boolean $auditSuccess
* @param Boolean $auditFailure