-
Notifications
You must be signed in to change notification settings - Fork 736
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
Fix fluent interface inconsistency #788
Conversation
- Elastica\Aggregation\AbstractAggregation::setName - Elastica\Bulk::setRequestParam - Elastica\Bulk::setShardTimeout - Elastica\Client::addHeader - Elastica\Client::removeHeader - Elastica\Connection\ConnectionPool::addConnection - Elastica\Connection\ConnectionPool::setConnections - Elastica\Filter\AbstractGeoShape::setRelation - Elastica\Query::setSuggest - Elastica\Script::setScript - Elastica\Script::setLang - Elastica\Transport\AbstractTransport::setConnection - Elastica\Type::setSerializer
1 similar comment
* @return \Elastica\Bulk\Action\AbstractDocument | ||
* @param \Elastica\Document|\Elastica\Script $data | ||
* @param string $opType | ||
* @return static |
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 like that :-)
Fix fluent interface inconsistency
Awesome. Thanks. |
@im-denisenko BTW: I think you will like this: https://scrutinizer-ci.com/g/ruflin/Elastica/?branch=master |
I quickly looked at reported issues, and yeah, it's awesome :) Though, many of them seems to be false-positive due to incorrect phpdoc comments (this tool gets variable types from docblocks, as I can guess) Speaking of that, I see 1527 warnings every time I trying to run phpdoc. I already wanted to fix that, so now there yet another reason to do this. |
:-) |
@return
docblock updated across entire library. Finishes work started in Fix IDE doc for better auto-completion #774.@param
and@return
realigned using php-cs-fixer.