From db8685ccad82bd86ab6e40183f80fa3e63ec1d20 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 27 Feb 2014 23:18:27 +0100 Subject: [PATCH] fixed a bunch of typos and errors --- extensions/apidoc/templates/BaseRenderer.php | 1 - extensions/apidoc/templates/html/views/constSummary.php | 2 +- extensions/bootstrap/Tabs.php | 2 +- extensions/redis/LuaScriptBuilder.php | 1 + extensions/sphinx/QueryBuilder.php | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/apidoc/templates/BaseRenderer.php b/extensions/apidoc/templates/BaseRenderer.php index 3bd3b98d57..a8baab8986 100644 --- a/extensions/apidoc/templates/BaseRenderer.php +++ b/extensions/apidoc/templates/BaseRenderer.php @@ -50,7 +50,6 @@ abstract class BaseRenderer extends Component * @param array $files list of markdown files to render * @param Context $context the api documentation context to render. * @param Controller $controller the apidoc controller instance. Can be used to control output. - * @return */ public abstract function renderMarkdownFiles($controller); diff --git a/extensions/apidoc/templates/html/views/constSummary.php b/extensions/apidoc/templates/html/views/constSummary.php index 1054181c45..b9e200ee99 100644 --- a/extensions/apidoc/templates/html/views/constSummary.php +++ b/extensions/apidoc/templates/html/views/constSummary.php @@ -33,7 +33,7 @@ ArrayHelper::multisort($constants, 'name'); definedBy != $type->name ? ' class="inherited"' : '' ?> id="name ?>"> name ?> value ?> - shortDescription . "\n" . $constant->description, $constant->definedBy, true) ?> + shortDescription . "\n" . $constant->description, $constant->definedBy, true) ?> context->typeLink($constant->definedBy) ?> diff --git a/extensions/bootstrap/Tabs.php b/extensions/bootstrap/Tabs.php index 2192746aa1..29505f0cae 100644 --- a/extensions/bootstrap/Tabs.php +++ b/extensions/bootstrap/Tabs.php @@ -92,7 +92,7 @@ class Tabs extends Widget */ public $encodeLabels = true; /** - * @var string, specifies the Bootstrap tab styling. + * @var string specifies the Bootstrap tab styling. */ public $navType = 'nav-tabs'; diff --git a/extensions/redis/LuaScriptBuilder.php b/extensions/redis/LuaScriptBuilder.php index 3da5d3dc83..1c1082bfda 100644 --- a/extensions/redis/LuaScriptBuilder.php +++ b/extensions/redis/LuaScriptBuilder.php @@ -7,6 +7,7 @@ namespace yii\redis; +use yii\base\InvalidParamException; use yii\base\NotSupportedException; use yii\db\Exception; use yii\db\Expression; diff --git a/extensions/sphinx/QueryBuilder.php b/extensions/sphinx/QueryBuilder.php index e24a3a8fea..8e1d5c4e57 100644 --- a/extensions/sphinx/QueryBuilder.php +++ b/extensions/sphinx/QueryBuilder.php @@ -77,7 +77,7 @@ class QueryBuilder extends Object $clauses = [ $this->buildSelect($query->select, $params, $query->distinct, $query->selectOption), - $this->buildFrom($from, $Params), + $this->buildFrom($from, $params), $this->buildWhere($query->from, $query->where, $params), $this->buildGroupBy($query->groupBy), $this->buildWithin($query->within),