-
Notifications
You must be signed in to change notification settings - Fork 69
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
Conversation
…ecode as requested.
…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 |
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.
@christophermancini shouldn't this be type|null
?
@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) |
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.
I think you don't need the parameter $r
anymore here
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.
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().
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.
Oh sorry my bad. I overlooked the reload method
Issue65 and some cleanup.
This is for removing the urldecode as requested in Issue #65 (CLIENTS-90). I also did some cleanup while I was in there.