From fdb730a12ae2c51403c99b35b9be3b3061f76ccc Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Fri, 10 Apr 2015 21:51:33 -0400 Subject: [PATCH] syntax fix [skip ci] --- framework/db/ActiveRecord.php | 2 +- framework/grid/Column.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index 92f742c6cc..36446c2fb3 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -53,7 +53,7 @@ use yii\helpers\StringHelper; * * Using the `new` operator to create a new, empty object * * Using a method to fetch an existing record (or records) from the database * - * Here is a short teaser how working with an ActiveRecord looks like: + * Below is an example showing some typical usage of ActiveRecord: * * ```php * $user = new User(); diff --git a/framework/grid/Column.php b/framework/grid/Column.php index e452e5af7f..8978194bf9 100644 --- a/framework/grid/Column.php +++ b/framework/grid/Column.php @@ -32,7 +32,7 @@ class Column extends Object */ public $footer; /** - * @var callable This is a callable that will be used to generated the content of each cell. + * @var callable This is a callable that will be used to generate the content of each cell. * The signature of the function should be the following: `function ($model, $key, $index, $column)`. * Where `$model`, `$key`, and `$index` refer to the model, key and index of the row currently being rendered * and `$column` is a reference to the [[Column]] object.