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 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
{