http
http copied to clipboard
Unknown scalar type
After upgrade to 5.0 my IDE (PHP Storm) shows me a warning:
Expected \Sabre\HTTP\scalar, got string Inspection info: Invocation parameter types are not compatible with declared.
https://github.com/sabre-io/http/blob/3577f014fe188572386903722e2a78ad6ad45e7e/lib/Message.php#L223
In the previous version (4.2) type was defined as string|string[]
Feel free to submit a pull request too fix this - THX
I will fix it in the evening. Thanks
Looks like this was fixed by https://github.com/sabre-io/http/pull/192