@@ -29,7 +29,7 @@ |
||
29 | 29 | * Params $query and $options is points to extend functionality |
30 | 30 | * |
31 | 31 | * @param array $aclConditionalFactors |
32 | - * @param mixed $condition |
|
32 | + * @param AclCondition $condition |
|
33 | 33 | * @param AbstractQuery $query |
34 | 34 | * @param array|null $options |
35 | 35 | * |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * work with join statements of query |
142 | 142 | * |
143 | 143 | * @param SelectStatement $AST |
144 | - * @param array $joinConditions |
|
144 | + * @param Condition\JoinAclCondition[] $joinConditions |
|
145 | 145 | */ |
146 | 146 | protected function addAclToJoinClause($AST, array $joinConditions) |
147 | 147 | { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * work with "where" statement of query |
197 | 197 | * |
198 | 198 | * @param SelectStatement $AST |
199 | - * @param array $whereConditions |
|
199 | + * @param AclCondition[] $whereConditions |
|
200 | 200 | */ |
201 | 201 | protected function addAclToWhereClause($AST, array $whereConditions) |
202 | 202 | { |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | /** |
210 | 210 | * @param OwnershipMetadataInterface $metadata |
211 | 211 | * |
212 | - * @return array|int|null |
|
212 | + * @return integer|null |
|
213 | 213 | */ |
214 | 214 | protected function getOrganizationId(OwnershipMetadataInterface $metadata = null) |
215 | 215 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | * Adds all user ids within all business units the given user is associated |
261 | 261 | * |
262 | 262 | * @param int|string $userId |
263 | - * @param int|string $organizationId |
|
263 | + * @param integer|null $organizationId |
|
264 | 264 | * @param array $result [output] |
265 | 265 | */ |
266 | 266 | protected function fillBusinessUnitUserIds($userId, $organizationId, array &$result) |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * Adds all user ids within all subordinate business units the given user is associated |
281 | 281 | * |
282 | 282 | * @param int|string $userId |
283 | - * @param int|string $organizationId |
|
283 | + * @param integer|null $organizationId |
|
284 | 284 | * @param array $result [output] |
285 | 285 | */ |
286 | 286 | protected function fillSubordinateBusinessUnitUserIds($userId, $organizationId, array &$result) |