From d241bd3e944683d3984d094d8b0014a276591c5a Mon Sep 17 00:00:00 2001 From: munawer-t Date: Wed, 8 Jan 2014 16:58:03 +0530 Subject: [PATCH 1/2] Typos --- extensions/yii/authclient/OpenId.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/yii/authclient/OpenId.php b/extensions/yii/authclient/OpenId.php index a173699..e410d4c 100644 --- a/extensions/yii/authclient/OpenId.php +++ b/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); From 45a6cbdbf5a3de11779e8284ddc81c2191dfbc71 Mon Sep 17 00:00:00 2001 From: munawer-t Date: Wed, 8 Jan 2014 17:19:52 +0530 Subject: [PATCH 2/2] PhpDoc fixes --- extensions/yii/debug/components/search/matches/Exact.php | 2 +- extensions/yii/elasticsearch/Command.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/yii/debug/components/search/matches/Exact.php b/extensions/yii/debug/components/search/matches/Exact.php index 5fe6eec..46992e9 100644 --- a/extensions/yii/debug/components/search/matches/Exact.php +++ b/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; diff --git a/extensions/yii/elasticsearch/Command.php b/extensions/yii/elasticsearch/Command.php index bc4bb2f..9ea4a60 100644 --- a/extensions/yii/elasticsearch/Command.php +++ b/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