This commit is contained in:
2021-03-31 01:40:04 +08:00
parent 89ea285817
commit 5e88b0a99c
+2 -6
View File
@@ -36,9 +36,7 @@ class Service extends Component
* @param $id * @param $id
* @param bool $try * @param bool $try
* @return mixed * @return mixed
* @throws ComponentException * @throws Exception
* @throws NotFindClassException
* @throws ReflectionException
*/ */
public function get($id, $try = true): mixed public function get($id, $try = true): mixed
{ {
@@ -79,9 +77,7 @@ class Service extends Component
* @param $definition * @param $definition
* *
* @return mixed * @return mixed
* @throws ComponentException * @throws Exception
* @throws ReflectionException
* @throws NotFindClassException
*/ */
public function set($id, $definition): mixed public function set($id, $definition): mixed
{ {