Browse Source

Merge pull request #1832 from munawer-t/master

Doc fixes
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
3902cada7f
  1. 4
      extensions/yii/authclient/OpenId.php
  2. 2
      extensions/yii/debug/components/search/matches/Exact.php
  3. 2
      extensions/yii/elasticsearch/Command.php

4
extensions/yii/authclient/OpenId.php

@ -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);

2
extensions/yii/debug/components/search/matches/Exact.php

@ -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;

2
extensions/yii/elasticsearch/Command.php

@ -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

Loading…
Cancel
Save