We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2ef0c commit 0d7914dCopy full SHA for 0d7914d
1 file changed
src/Encoder/XsiTypeEncoder.php
@@ -64,6 +64,7 @@ private function from(Context $context, Iso $innerIso, Element $value): mixed
64
->unwrapOr($innerIso),
65
};
66
67
+ /** @psalm-suppress ImplicitToStringCast - Encoders accept string|Element in from() */
68
return $iso->from($value);
69
}
70
0 commit comments