From 95185d3a93aff8e80b2c2888281064ec426758dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 6 Sep 2021 14:31:40 +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 --- core/Di/Container.php | 4 +--- core/Kiri.php | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/core/Di/Container.php b/core/Di/Container.php index 1749bd11..f80561c5 100644 --- a/core/Di/Container.php +++ b/core/Di/Container.php @@ -129,9 +129,7 @@ class Container extends BaseObject implements ContainerInterface * @param array $constrict * @param array $config * @return object - * @throws NotFindClassException - * @throws ReflectionException - * @throws Exception + * @throws */ public function newObject($class, array $constrict = [], array $config = []): object { diff --git a/core/Kiri.php b/core/Kiri.php index 26c58777..a20767af 100644 --- a/core/Kiri.php +++ b/core/Kiri.php @@ -156,8 +156,6 @@ class Kiri * @param $className * @param array $construct * @return mixed - * @throws NotFindClassException - * @throws ReflectionException * @throws Exception */ public static function createObject($className, array $construct = []): mixed