mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-14 02:11:40 +08:00
Add generics for all controllers (#20675)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
namespace yii\console\controllers;
|
||||
|
||||
use Yii;
|
||||
use yii\console\Application;
|
||||
use yii\console\Controller;
|
||||
use yii\console\ExitCode;
|
||||
use yii\helpers\Console;
|
||||
@@ -20,6 +21,9 @@ use yii\helpers\Console;
|
||||
*
|
||||
* @author Alexander Makarov <sam@rmcreative.ru>
|
||||
* @since 2.0.7
|
||||
*
|
||||
* @template T of Application
|
||||
* @extends Controller<T>
|
||||
*/
|
||||
class ServeController extends Controller
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user