mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-15 02:40:52 +08:00
Add generics for all controllers (#20675)
This commit is contained in:
@@ -9,6 +9,7 @@ namespace yii\rest;
|
||||
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\base\Model;
|
||||
use yii\base\Module;
|
||||
use yii\web\ForbiddenHttpException;
|
||||
|
||||
/**
|
||||
@@ -36,6 +37,9 @@ use yii\web\ForbiddenHttpException;
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*
|
||||
* @template T of Module
|
||||
* @extends Controller<T>
|
||||
*/
|
||||
class ActiveController extends Controller
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user