@@ -138,8 +138,8 @@ public function addPrimaryKey(string $table, string $name, array|string $columns
138138 /**
139139 * Creates an SQL command for changing the definition of a column.
140140 *
141- * @param string $table The table whose column is to be changed .
142- * @param string $column The name of the column to be changed .
141+ * @param string $table The table whose column is to change .
142+ * @param string $column The name of the column to change .
143143 * @param string $type The column type. {@see QueryBuilder::getColumnType()} will be called to convert the give
144144 * column type to the physical one. For example, `string` will be converted as `varchar(255)`, and `string not null`
145145 * becomes `varchar(255) not null`.
@@ -165,15 +165,15 @@ public function alterColumn(string $table, string $column, string $type): static
165165 * )->execute();
166166 * ```
167167 *
168- * The method will escape the column names, and quote the values to be inserted .
168+ * The method will escape the column names, and quote the values to insert .
169169 *
170170 * Note that the values in each row must match the corresponding column names.
171171 *
172172 * Also note that the created command isn't executed until {@see execute()} is called.
173173 *
174- * @param string $table The table that new rows will be inserted into.
174+ * @param string $table The name of the table to insert new rows into.
175175 * @param array $columns The column names.
176- * @param iterable $rows The rows to be batched inserted into the table.
176+ * @param iterable $rows The rows to be batch inserted into the table.
177177 *
178178 * @throws Exception
179179 * @throws InvalidArgumentException
@@ -189,7 +189,7 @@ public function batchInsert(string $table, array $columns, iterable $rows): stat
189189 * a parameter name of the form `:name`. For a prepared statement using question mark placeholders, this will be the
190190 * 1-indexed position of the parameter.
191191 * @param mixed $value The PHP variable to bind to the SQL statement parameter (passed by reference).
192- * @param int|null $dataType The SQL data type of the parameter. If null, the type is determined by the PHP type of
192+ * @param int|null $dataType The SQL data type of the parameter. If ` null` , the type is determined by the PHP type of
193193 * the value.
194194 * @param int|null $length The length of the data type.
195195 * @param mixed|null $driverOptions The driver-specific options.
@@ -212,7 +212,7 @@ public function bindParam(
212212 * @param string $table The name of the table to add unique constraint to.
213213 * @param string $name The name of the unique constraint.
214214 * @param array|string $columns The name of the column to add unique constraint to. If there are
215- * many columns, separate them with commas.
215+ * many columns, use an array or separate them with commas.
216216 *
217217 * Note: The method will quote the `name`, `table`, and `column` parameters before using them in the generated SQL.
218218 */
@@ -237,7 +237,7 @@ public function bindValue(int|string $name, mixed $value, int $dataType = null):
237237 *
238238 * Note that the SQL data type of each value is determined by its PHP type.
239239 *
240- * @param array|ParamInterface[] $values The values to be bound . This must be given in terms of an associative
240+ * @param array|ParamInterface[] $values The values to bind . This must be given in terms of an associative
241241 * array with array keys being the parameter names, and an array values the corresponding parameter values,
242242 * for example, `[':name' => 'John', ':age' => 25]`.
243243 * By default, the {@see PDO} type of each value is determined by its PHP type. You may explicitly specify the
@@ -302,7 +302,7 @@ public function createIndex(
302302 * For example, it will convert `string` to `varchar(255)`, and `string not null` to
303303 * `varchar(255) not null`.
304304 *
305- * If you specify a column with definition only (' PRIMARY KEY (name, type)' ), it will be directly inserted
305+ * If you specify a column with definition only (` PRIMARY KEY (name, type)` ), it will be directly inserted
306306 * into the generated SQL.
307307 *
308308 * @param string $table The name of the table to create.
0 commit comments