mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Fixed phpdoc types
This commit is contained in:
@ -881,7 +881,7 @@ class Connection extends Component
|
||||
* Obtains the schema information for the named table.
|
||||
* @param string $name table name.
|
||||
* @param bool $refresh whether to reload the table schema even if it is found in the cache.
|
||||
* @return TableSchema table schema information. Null if the named table does not exist.
|
||||
* @return TableSchema|null table schema information. Null if the named table does not exist.
|
||||
*/
|
||||
public function getTableSchema($name, $refresh = false)
|
||||
{
|
||||
|
||||
@ -64,7 +64,7 @@ class TableSchema extends BaseObject
|
||||
* Gets the named column metadata.
|
||||
* This is a convenient method for retrieving a named column even if it does not exist.
|
||||
* @param string $name column name
|
||||
* @return ColumnSchema metadata of the named column. Null if the named column does not exist.
|
||||
* @return ColumnSchema|null metadata of the named column. Null if the named column does not exist.
|
||||
*/
|
||||
public function getColumn($name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user