summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Service/RuleMatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/lib/Service/RuleMatcher.php')
-rw-r--r--apps/workflowengine/lib/Service/RuleMatcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Service/RuleMatcher.php b/apps/workflowengine/lib/Service/RuleMatcher.php
index 99a5db8a9d0..70c40e1251a 100644
--- a/apps/workflowengine/lib/Service/RuleMatcher.php
+++ b/apps/workflowengine/lib/Service/RuleMatcher.php
@@ -134,9 +134,9 @@ class RuleMatcher implements IRuleMatcher {
}
if($this->entity instanceof IEntity) {
+ /** @var ScopeContext[] $additionalScopes */
$additionalScopes = $this->manager->getAllConfiguredScopesForOperation($class);
foreach ($additionalScopes as $hash => $scopeCandidate) {
- /** @var ScopeContext $scopeCandidate */
if ($scopeCandidate->getScope() !== IManager::SCOPE_USER || in_array($scopeCandidate, $scopes)) {
continue;
}