diff --git a/HttpServer/Controller.php b/HttpServer/Controller.php index 8a85cf01..4fb8a98c 100644 --- a/HttpServer/Controller.php +++ b/HttpServer/Controller.php @@ -9,8 +9,10 @@ use HttpServer\Http\HttpHeaders; use HttpServer\Http\HttpParams; use HttpServer\Http\Request; use Exception; +use ReflectionException; use Snowflake\Abstracts\TraitApplication; use Snowflake\Exception\ComponentException; +use Snowflake\Exception\NotFindClassException; use Snowflake\Snowflake; /** @@ -107,6 +109,8 @@ class Controller extends HttpService * @param $name * @return mixed * @throws ComponentException + * @throws ReflectionException + * @throws NotFindClassException */ public function __get($name): mixed {