From d22955233c2c519fc114691d1e569a6b0f81c21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 16 Apr 2023 02:01:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .phpstorm.meta.php | 2 +- Connection.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 6a376cf..c873bb7 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -4,7 +4,7 @@ namespace PHPSTORM_META { // Reflect use Kiri\Di\Container; - use Kiri\Di\ContainerInterface; + use Psr\Container\ContainerInterface; override(ContainerInterface::get(0), map('@')); override(Container::make(0), map('@')); diff --git a/Connection.php b/Connection.php index 361c36a..f8a0f50 100644 --- a/Connection.php +++ b/Connection.php @@ -18,7 +18,7 @@ use Database\Mysql\Schema; use Exception; use Kiri; use Kiri\Abstracts\Component; -use Kiri\Di\ContainerInterface; +use Psr\Container\ContainerInterface; use Kiri\Di\Context; use Kiri\Pool\Pool; use Kiri\Events\EventProvider;