Fixed phpdoc types

This commit is contained in:
Dmitry Eliseev
2021-03-12 23:41:48 +03:00
committed by GitHub
parent cfe782b3f5
commit 4479c66522
8 changed files with 8 additions and 8 deletions

View File

@ -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)
{

View File

@ -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)
{