Skip to content
Snippets Groups Projects
Verified Commit ffc50dea authored by Jan Kuchař's avatar Jan Kuchař Committed by Jiří Pudil
Browse files

Returned unwanted forgotten change

parent 453db14d
No related branches found
No related tags found
1 merge request!40CompositeType: add explicit type cast to support composite values in WHERE clause
......@@ -81,7 +81,7 @@ abstract class CompositeType implements Type
{
$result = $this->parseComposite($value);
\count($result) === \count($this->types);
\assert(\count($result) === \count($this->types));
return map(
$result,
fn($item, $index) => $item !== null ? $this->types[$index]->fromDatabase($item) : null,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment