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