Matthew Inamdar

Results 22 comments of Matthew Inamdar

For anyone else facing this issue - the solution by @podlebar above was the only one that worked for me!

Interested in this feature too, is there any update since August?

Thanks for this @J0sh0nat0r - I'll take a look at this over the weekend, but it seems like a great addition.

@hmurich Can you provide an example of what the current logic is doing, vs what you expect?

If we set scopes to `(object)[]` if it's null then that should do the trick. Keeping this issue open until I get a PR ready. https://github.com/goldspecdigital/oooas/blob/b5c48ce12eb15261e7eeaff6b477cbff36b56cbf/src/Objects/OAuthFlow.php#L127-L136

Sorry for the delay - I've been struggling for time recently. These type hints will be a breaking change for currently supported PHP versions. If we added the `#[\ReturnTypeWillChange]` attribute,...

Will try get this added in the next release.

I'll look at adding this in the next release.

@RyanThompson Is this part of the OpenAPI spec, and could you give some more context around how you'd expect it to work? Cheers, Matt

Hey @baohx2000 👋 I don't fully understand - what's the use case for your suggestion? 🙂