-
Notifications
You must be signed in to change notification settings - Fork 53
Final #19
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
Final #19
Conversation
*/ | ||
public function sendRequest(RequestInterface $request) | ||
{ | ||
// TODO: Implement sendRequest() method. |
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.
? and why is this class embedded in the spec file?
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.
It's a stub. We need something which implements both interfaces, and it can't be final.
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.
then lets call it StubCombinedClient and not write TODO here but just have empty body. and a class phpdoc that says this is a stub for testing.
lets add an issue in the 2.0 milestone to remember to make them final and solve the TODO. |
94537ea
to
c8863d6
Compare
@@ -11,7 +11,7 @@ | |||
* | |||
* @author Joel Wurtz <[email protected]> | |||
*/ | |||
class FlexibleHttpClient implements HttpClient, HttpAsyncClient | |||
final class FlexibleHttpClient implements HttpClient, HttpAsyncClient |
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.
did we want to rename this to CombinedHttpClient now?
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.
Don't know, rename is discussed in #16, although no better name came up yet IMO.
Make not-yet-released clients final Update changelog Remove TODOs in favor of #20
Didn't need the stub after all. |
What's in this PR?
Makes some clients final, adds todos for clients becoming final in the next major version.
Why?
Cleans the confusion about clients being extended or not.
Checklist