-
Notifications
You must be signed in to change notification settings - Fork 39
Initial import #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* | ||
* @param string $name | ||
* | ||
* @return mixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mixed
can be replaced by string|array
* | ||
* @param null|string|UriInterface $baseUri | ||
* | ||
* @throws HttpAdapterException If the base uri is invalid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it comes from the old package, I'm wrong... By reading the current implementation, this is an exception which comes from phly/http
so it can't be an HttpAdapterException
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So what's the prognosis? Should it be simply removed?
* | ||
* @return ResponseInterface[] | ||
* | ||
* @throws MultiHttpAdapterException If an error occurred when you don't provide the error callable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If an error occured is enough since we can't pass a callable anymore.
This PR contains the initial import of interfaces and the following changes: