We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d3404 commit c14bb5aCopy full SHA for c14bb5a
Form/ChoiceList/ORMQueryBuilderLoader.php
@@ -67,7 +67,7 @@ public function getEntitiesByIds(string $identifier, array $values): array
67
68
// Filter out non-integer values (e.g. ""). If we don't, some
69
// databases such as PostgreSQL fail.
70
- $values = array_values(array_filter($values, fn ($v) => (string) $v === (string) (int) $v || ctype_digit($v)));
+ $values = array_values(array_filter($values, static fn ($v) => \is_string($v) && ctype_digit($v) || (string) $v === (string) (int) $v));
71
} elseif (\in_array($type, ['ulid', 'uuid', 'guid'])) {
72
$parameterType = class_exists(ArrayParameterType::class) ? ArrayParameterType::STRING : Connection::PARAM_STR_ARRAY;
73
0 commit comments