Post #1159783
2026-04-15 11:20 UTC
@OndrejMirtes@phpc.social @bobmagicii@phpc.social @asgrim@phpc.social I eed it for typehint based parameter injection, and my "80%" rule is that it just tests all classes for a converter from left to right until it finds one.
Replies (1)
-
@stof@phpc.social 2026-04-15 14:04
@beberlei @OndrejMirtes @bobmagicii @asgrim your description is valid for a union type. But it does not seem to handle intersection types.