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

Elasticsearch adapter #208

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

upchuk
Copy link

@upchuk upchuk commented May 27, 2016

Hey. Does this look right? An adapter for the official Elasticsearch PHP library

* @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)
Copy link

Choose a reason for hiding this comment

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

Missing parameter typehint.

Copy link
Author

Choose a reason for hiding this comment

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

Indeed @sstok . Fixed.

@upchuk
Copy link
Author

upchuk commented Jun 9, 2016

@sstok all good?

*
* @var array
*/
private $params;
Copy link
Contributor

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

@stof
Copy link
Contributor

stof commented Jun 9, 2016

it would also be great to add some tests

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.

3 participants