We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5fbaa9 commit 2085f71Copy full SHA for 2085f71
src/PHPFUI/ORM/Operator/In.php
@@ -11,6 +11,6 @@ public function __construct()
11
12
public function correctlyTyped(mixed $variable) : bool
13
{
14
- return \is_array($variable) || $variable instanceof \PHPFUI\ORM\Table;
+ return (\is_array($variable) && count($variable)) || $variable instanceof \PHPFUI\ORM\Table;
15
}
16
src/PHPFUI/ORM/Operator/NotIn.php
0 commit comments