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;