diff --git a/extensions/apidoc/templates/BaseRenderer.php b/extensions/apidoc/templates/BaseRenderer.php index 3bd3b98..a8baab8 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 1054181..b9e200e 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'); <tr<?= $constant->definedBy != $type->name ? ' class="inherited"' : '' ?> id="<?= $constant->name ?>"> <td><?= $constant->name ?><a name="<?= $constant->name ?>-detail"></a></td> <td><?= $constant->value ?></td> - <td><?= APiMarkdown::process($constant->shortDescription . "\n" . $constant->description, $constant->definedBy, true) ?></td> + <td><?= ApiMarkdown::process($constant->shortDescription . "\n" . $constant->description, $constant->definedBy, true) ?></td> <td><?= $this->context->typeLink($constant->definedBy) ?></td> </tr> <?php endforeach; ?> diff --git a/extensions/bootstrap/Tabs.php b/extensions/bootstrap/Tabs.php index 2192746..29505f0 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 3da5d3d..1c1082b 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 e24a3a8..8e1d5c4 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),