mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-23 00:16:51 +01:00
Remove return type from docblock.
Fixes: - cli/commands/shell/ModelCommand.php:127 PhanTypeMissingReturn Method \ModelCommand::generateRelations is declared to return array in phpdoc but has no return value
This commit is contained in:
@@ -121,8 +121,6 @@ EOD;
|
||||
|
||||
/**
|
||||
* Generate code to put in ActiveRecord class's relations() function.
|
||||
* @return array indexed by table names, each entry contains array of php code to go in appropriate ActiveRecord class.
|
||||
* Empty array is returned if database couldn't be connected.
|
||||
*/
|
||||
protected function generateRelations()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user