Skip to content
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

Fix strange auth option handling #1459

Merged
merged 1 commit into from
May 8, 2016
Merged

Fix strange auth option handling #1459

merged 1 commit into from
May 8, 2016

Conversation

Tobion
Copy link
Member

@Tobion Tobion commented Apr 25, 2016

No description provided.

$type = is_array($value)
? (isset($value[2]) ? strtolower($value[2]) : 'basic')
: $value;
$config['auth'] = $value;
Copy link
Member Author

Choose a reason for hiding this comment

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

this var does not seem to be used at all

@Tobion
Copy link
Member Author

Tobion commented Apr 25, 2016

Test failure seems unrelated

@mtdowling mtdowling merged commit 2c0556b into guzzle:master May 8, 2016
@Tobion Tobion deleted the patch-1 branch May 8, 2016 19:54
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