Commit 3902cada by Alexander Makarov

Merge pull request #1832 from munawer-t/master

Doc fixes
parents 8c5372b0 45a6cbdb
......@@ -599,7 +599,7 @@ class OpenId extends BaseClient implements ClientInterface
{
$params = [];
/* We always use SREG 1.1, even if the server is advertising only support for 1.0.
That's because it's fully backwards compatibile with 1.0, and some providers
That's because it's fully backwards compatible with 1.0, and some providers
advertise 1.0 even if they accept only 1.1. One such provider is myopenid.com */
$params['openid.ns.sreg'] = 'http://openid.net/extensions/sreg/1.1';
if (!empty($this->requiredAttributes)) {
......@@ -663,7 +663,7 @@ class OpenId extends BaseClient implements ClientInterface
$params['openid.ax.count.' . $alias] = $count;
}
// Don't send empty ax.requied and ax.if_available.
// Don't send empty ax.required and ax.if_available.
// Google and possibly other providers refuse to support ax when one of these is empty.
if (!empty($requiredAttributes)) {
$params['openid.ax.required'] = implode(',', $requiredAttributes);
......
......@@ -16,7 +16,7 @@ class Exact extends Base
{
/**
* @var boolean if current matcher should consider partial mathc of given value.
* @var boolean if current matcher should consider partial match of given value.
*/
public $partial = false;
......
......@@ -67,7 +67,7 @@ class Command extends Component
* @param string $index
* @param string $type
* @param string|array $data json string or array of data to store
* @param null $id the documents id. If not specified Id will be automatically choosen
* @param null $id the documents id. If not specified Id will be automatically chosen
* @param array $options
* @return mixed
* @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment