@@ -379,7 +379,7 @@ |
||
379 | 379 | /** |
380 | 380 | * Executes the SQL statement and returns the value of the first column in the first row of data. |
381 | 381 | * This method is best used when only a single value is needed for a query. |
382 | - * @return string|null|false the value of the first column in the first row of the query result. |
|
382 | + * @return string the value of the first column in the first row of the query result. |
|
383 | 383 | * False is returned if there is no value. |
384 | 384 | * @throws Exception execution failed |
385 | 385 | */ |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * Loads the column information into a [[ColumnSchema]] object. |
268 | 268 | * @param array $info column information |
269 | - * @return ColumnSchema the column schema object |
|
269 | + * @return \yii\db\ColumnSchema the column schema object |
|
270 | 270 | */ |
271 | 271 | protected function loadColumnSchema($info) |
272 | 272 | { |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | * Executes the INSERT command, returning primary key values. |
394 | 394 | * @param string $table the table that new rows will be inserted into. |
395 | 395 | * @param array $columns the column data (name => value) to be inserted into the table. |
396 | - * @return array|false primary key values or false if the command fails |
|
396 | + * @return string primary key values or false if the command fails |
|
397 | 397 | * @since 2.0.4 |
398 | 398 | */ |
399 | 399 | public function insert($table, $columns) |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | /** |
598 | 598 | * Returns the cache key for the specified table name. |
599 | 599 | * @param string $name the table name |
600 | - * @return mixed the cache key |
|
600 | + * @return string[] the cache key |
|
601 | 601 | */ |
602 | 602 | protected function getCacheKey($name) |
603 | 603 | { |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * Loads the column information into a [[ColumnSchema]] object. |
268 | 268 | * @param array $info column information |
269 | - * @return ColumnSchema the column schema object |
|
269 | + * @return \yii\db\ColumnSchema the column schema object |
|
270 | 270 | */ |
271 | 271 | protected function loadColumnSchema($info) |
272 | 272 | { |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * Loads the column information into a [[ColumnSchema]] object. |
268 | 268 | * @param array $info column information |
269 | - * @return ColumnSchema the column schema object |
|
269 | + * @return \yii\db\ColumnSchema the column schema object |
|
270 | 270 | */ |
271 | 271 | protected function loadColumnSchema($info) |
272 | 272 | { |