From 5e88b0a99c8a23090c8e25e8a0e5e9d8a39d8991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 31 Mar 2021 01:40:04 +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 --- System/Di/Service.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/System/Di/Service.php b/System/Di/Service.php index 52d3e53d..7a75d8e7 100644 --- a/System/Di/Service.php +++ b/System/Di/Service.php @@ -36,9 +36,7 @@ class Service extends Component * @param $id * @param bool $try * @return mixed - * @throws ComponentException - * @throws NotFindClassException - * @throws ReflectionException + * @throws Exception */ public function get($id, $try = true): mixed { @@ -79,9 +77,7 @@ class Service extends Component * @param $definition * * @return mixed - * @throws ComponentException - * @throws ReflectionException - * @throws NotFindClassException + * @throws Exception */ public function set($id, $definition): mixed {