File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Neos.Flow/Classes/Security/Authorization/Privilege/Entity/Doctrine Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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 }
@@ -512,9 +509,6 @@ protected function getConstraintStringForSimpleProperty(DoctrineSqlFilter $sqlFi
512509 }
513510 $ parameter = implode (', ' , $ parameters );
514511 } elseif (!($ this ->getRawParameterValue ($ operandDefinition ) === null || ($ this ->operator === 'in ' && $ this ->getRawParameterValue ($ operandDefinition ) === []))) {
515- if (!is_string ($ operandDefinition )) {
516- throw new \Exception ('SQL filter parameters must be of type string, ' . get_debug_type ($ operandDefinition ) . ' given. ' , 1743929393 );
517- }
518512 $ parameter = $ sqlFilter ->getParameter ($ operandDefinition );
519513 }
520514 } catch (\InvalidArgumentException $ exception ) {
You can’t perform that action at this time.
0 commit comments