Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[TypeInfo] FixisSatisfiedBy
not traversing type tree#59844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
e46905c
tocad3275
Comparea collection of object isnot satisfying the -1 for this PR. |
Sorry, the example was not clear enough, Type::collection(type: Type::object(\Iterator::class), value: Type::int())->isSatisfiedBy($specification); Which will check the whole type, and the |
Uh oh!
There was an error while loading.Please reload this page.
Thank you@mtarld. |
bc82b67
intosymfony:7.2Uh oh!
There was an error while loading.Please reload this page.
Previously,
Type::isSatisfiedBy
was not traversing the type tree, which means that:was unexpectedly returning
false
.This PR fixes it.