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

Remove unused method argument in the Elastica\SearchableInterface methods #2240

Open
wants to merge 1 commit into
base: 8.x
Choose a base branch
from

Conversation

sidz
Copy link
Contributor

@sidz sidz commented Jan 12, 2025

This PR removes:

  • 3rd $method argument from the Elastica\SearchableInterface::search and Elastica\SearchableInterface::count as they are not unused anymore.
  • Elastica\Request class as it is not needed anymore.

On one hand it's a BC break as signatures are changed but on other hand it is not as we basically didn't clean up code base well before releasing version 8.

$method argument is not used inside of the methods.
Elastica\Request class is not needed anymore as right methods are set inside of official elasticsearch SDK

…::search` and `Elastica\SearchableInterface::count` as they are not unused anymore. Removed Request class
@sidz sidz force-pushed the remove-unused-method-argument-and-remove-request-class branch from 9809aac to df87b52 Compare January 12, 2025 14:52
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.

1 participant