We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make parameter for 'update' method optional, because method replace have no required param:
replace
public function replace() { $this->reset(); $this->type = 'replace'; return $this; }
usable as: $connection->replace()->into($index)->...
$connection->replace()->into($index)->...
But:
public function update($index) { $this->reset(); $this->type = 'update'; $this->into($index); return $this; }
REQUIRES $index and can't be used same way
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Make parameter for 'update' method optional, because method
replace
have no required param:usable as:
$connection->replace()->into($index)->...
But:
REQUIRES $index and can't be used same way
The text was updated successfully, but these errors were encountered: