From d5c31fab740ce5e36873baf2a9f96f30653eb077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 18 Aug 2021 11:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Di/ContainerInterface.php | 2 +- http-helper/Controller.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/System/Di/ContainerInterface.php b/System/Di/ContainerInterface.php index ba287c86..6cdc656b 100644 --- a/System/Di/ContainerInterface.php +++ b/System/Di/ContainerInterface.php @@ -4,7 +4,7 @@ namespace Kiri\Di; /** - * + * @mixin Container */ interface ContainerInterface { diff --git a/http-helper/Controller.php b/http-helper/Controller.php index 34f8efd6..25a66895 100644 --- a/http-helper/Controller.php +++ b/http-helper/Controller.php @@ -6,24 +6,18 @@ namespace Http; use Annotation\Inject; use JetBrains\PhpStorm\Pure; -use Kiri\Abstracts\TraitApplication; use Kiri\Application; -use Kiri\Di\Container; use Kiri\Di\ContainerInterface; -use Kiri\Kiri; use Server\RequestInterface; use Server\ResponseInterface; /** * Class WebController * @package Kiri\Kiri\Web - * @property Application $container */ class Controller { - use TraitApplication; - /** * @param Application $application