Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Nov 20, 2024
1 parent fe6fc35 commit befdd01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4757,7 +4757,7 @@ private function assertInferredResultMatchesExpected(
$inferredFirstItemType = $inferredType->getFirstIterableValueType();

self::assertTrue(
$inferredFirstItemType->equals($expectedFirstItemType),
$expectedFirstItemType->accepts($inferredFirstItemType, true)->yes(),
sprintf(
"Mismatch between inferred result and expected type\n\nDriver: %s\nConfig: %s\nDataset: %s\nDQL: %s\nSQL: %s\nPHP: %s\nReal first result: %s\nFirst item inferred as: %s\nFirst item expected type: %s\n",
$driver,
Expand Down

0 comments on commit befdd01

Please sign in to comment.