chore: adjusts tests

This commit is contained in:
nuno maduro
2026-04-11 01:54:13 +01:00
parent 4fb4908570
commit 2d649d765f
3 changed files with 6 additions and 4 deletions

View File

@ -37,7 +37,7 @@ final readonly class HigherOrderExpectationTypeExtension implements ExpressionTy
$varType = $scope->getType($expr->var);
if (! (new ObjectType(HigherOrderExpectation::class))->isSuperTypeOf($varType)->yes()) {
if (! new ObjectType(HigherOrderExpectation::class)->isSuperTypeOf($varType)->yes()) {
return null;
}