Conversation
|
Are you sure it won't break anything? function foobar(mixed $var) {}
// crashes cause unknown mixed class
function foobar(): mixed {}
// crashes too |
That's an example of the method signature in the PHP client. I don't see the type ( To answer your question, I'm aware If you've better suggestions on what |
ybelenko
left a comment
There was a problem hiding this comment.
I didn't checked it locally with PHP generators, but I think there will be no syntax errors. I hope so 😄
To fix #6668
PR checklist
./bin/generate-samples.shto update all Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master. These must match the expectations made by your contribution. You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/config/java*. For Windows users, please run the script in Git BASH.mastercc @jebentier (2017/07), @dkarlovi (2017/07), @mandrean (2017/08), @jfastnacht (2017/09), @ackintosh (2017/09) ❤️, @ybelenko (2018/07), @renepardon (2018/12)