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

Issue65 and some cleanup #98

Merged
merged 4 commits into from
Jun 10, 2015
Merged

Issue65 and some cleanup #98

merged 4 commits into from
Jun 10, 2015

Conversation

christophermancini
Copy link
Contributor

This is for removing the urldecode as requested in Issue #65 (CLIENTS-90). I also did some cleanup while I was in there.

Christopher Mancini added 3 commits May 27, 2015 10:03
…oved unnecessary auto loader in favor of composer. Commented out search test, since I still have no idea wtf is up. Will investigate later if someone reports an issue. Added test to run that was missing.
@@ -63,7 +67,9 @@ public function getName()
* Returns the buckets R-value If it is set,
* otherwise return the R-value for the client.
*
* @return integer
* @param null $r
Copy link
Contributor

Choose a reason for hiding this comment

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

@christophermancini shouldn't this be type|null ?

@christophermancini
Copy link
Contributor Author

@marcodebortoli Does that look better?

@@ -208,13 +202,13 @@ public function newBinary($key = null, $data, $content_type = 'application/json'
*
* @param string $key - Name of the key.
* @param int $r - R-Value of the request (defaults to bucket's R)
*
* @return Object
*/
public function get($key, $r = null)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you don't need the parameter $r anymore 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.

Well, it still allows you to pass it through to the reload method to override the bucket - client values for that call. If I remove it, you wouldn't be able to do that from get().

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh sorry my bad. I overlooked the reload method

christophermancini added a commit that referenced this pull request Jun 10, 2015
Issue65 and some cleanup.
@christophermancini christophermancini merged commit 8d14107 into 1.4.x Jun 10, 2015
@christophermancini christophermancini deleted the issue65 branch June 10, 2015 12:56
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