From 76e2982e67e65d6416a6775cf5f0dcba045dcbf5 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Thu, 5 Oct 2023 15:36:32 +0300 Subject: [PATCH] Remove generators from params --- config/params.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/config/params.php b/config/params.php index 818fb455..56e71694 100644 --- a/config/params.php +++ b/config/params.php @@ -3,7 +3,6 @@ declare(strict_types=1); use Yiisoft\Yii\Gii\Command\ControllerCommand; -use Yiisoft\Yii\Gii\Generator as Generators; return [ 'yiisoft/yii-debug' => [ @@ -24,16 +23,7 @@ 'yiisoft/yii-gii' => [ 'enabled' => true, 'allowedIPs' => ['127.0.0.1', '::1'], - 'generators' => [ - [ - 'class' => Generators\Controller\Generator::class, - 'parameters' => [], - ], - [ - 'class' => Generators\ActiveRecord\Generator::class, - 'parameters' => [], - ], - ], + 'generators' => [], 'parameters' => [ 'templates' => [], ],