summaryrefslogtreecommitdiffstats
path: root/Acl
diff options
context:
space:
mode:
Diffstat (limited to 'Acl')
-rw-r--r--Acl/Dbal/AclProvider.php7
-rw-r--r--Acl/Domain/Acl.php2
2 files changed, 6 insertions, 3 deletions
diff --git a/Acl/Dbal/AclProvider.php b/Acl/Dbal/AclProvider.php
index 143dee6..4a8619d 100644
--- a/Acl/Dbal/AclProvider.php
+++ b/Acl/Dbal/AclProvider.php
@@ -375,6 +375,7 @@ QUERY;
* including the ids of parent ACLs.
*
* @param array $batch
+ *
* @return array
*/
private function getAncestorIds(array $batch)
@@ -395,7 +396,8 @@ 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
+ *
* @return void
*/
private function doUpdateAceIdentityMap(array &$aces)
@@ -447,7 +449,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 ff8db9d..bb088f8 100644
--- a/Acl/Domain/Acl.php
+++ b/Acl/Domain/Acl.php
@@ -587,7 +587,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