Skip to content

Commit f422f3c

Browse files
committed
Test: Try to figure out why functional tests fail
1 parent e185eb9 commit f422f3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Neos.Flow/Classes/Security/Authorization/Privilege/Entity/Doctrine/PropertyConditionGenerator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ public function in($operandDefinition)
204204
if (is_array($this->operand) === false && ($this->operand instanceof \Traversable) === false) {
205205
throw new InvalidPolicyException(sprintf('The "in" operator needs an array as operand! Got: "%s"', $this->operand), 1416313526);
206206
}
207-
if (!is_array($this->operandDefinition)) {
208-
throw new \Exception('Cannot assign iterable operands to non-array operand definition', 1743959938);
209-
}
210207
foreach ($this->operand as $iterator => $singleOperandValueDefinition) {
211208
$this->operandDefinition['inOperandValue' . $iterator] = $singleOperandValueDefinition;
212209
}

0 commit comments

Comments
 (0)