mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-17 05:00:54 +08:00
Add generics for all controllers (#20675)
This commit is contained in:
@@ -12,6 +12,7 @@ use yii\base\Action;
|
||||
use yii\base\BaseObject;
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\base\NotSupportedException;
|
||||
use yii\console\Application;
|
||||
use yii\console\Controller;
|
||||
use yii\console\Exception;
|
||||
use yii\console\ExitCode;
|
||||
@@ -25,6 +26,9 @@ use yii\helpers\Inflector;
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*
|
||||
* @template T of Application
|
||||
* @extends Controller<T>
|
||||
*/
|
||||
abstract class BaseMigrateController extends Controller
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user