-
Notifications
You must be signed in to change notification settings - Fork 2
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
Elasticsearch adapter #208
base: master
Are you sure you want to change the base?
Conversation
* @param array $params The array of parameters to use for performing the search. | ||
* @param Client $client The Elasticsearch client. | ||
*/ | ||
public function __construct(array $params, $client) |
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.
Missing parameter typehint.
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.
Indeed @sstok . Fixed.
@sstok all good? |
* | ||
* @var array | ||
*/ | ||
private $params; |
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.
please use 4 spaces for the indentation to match the coding standards of the library
it would also be great to add some tests |
Hey. Does this look right? An adapter for the official Elasticsearch PHP library