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