Skip to content

http client factory should allow to specify additional plugins #157

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

Merged
merged 1 commit into from
Sep 16, 2016

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Sep 16, 2016

No description provided.

* @param string $user Username
* @param string $pass Password
* @param HttpClient $client Base HTTP client
* @param string $user Username
Copy link
Member

@sagikazarmark sagikazarmark Sep 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this username comment thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tried making it more verbose to make it more useful

*
* @return HttpClient
*/
public static function create($user, $pass, HttpClient $client = null)
public static function create($user, $pass, $plugins = [], HttpClient $client = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an array typehint here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed. seems the new github interface does not automatically hide comments that are obsolete anymore

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it doesn't like force push?

@dbu dbu force-pushed the allow-custom-plugins branch from 803eb75 to bb625ae Compare September 16, 2016 09:45
@dbu dbu merged commit 5b00df4 into master Sep 16, 2016
@dbu dbu deleted the allow-custom-plugins branch September 16, 2016 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants