diff --git a/src/helper.php b/src/helper.php index 7196606..a41c052 100644 --- a/src/helper.php +++ b/src/helper.php @@ -15,9 +15,9 @@ /** * @param string $config - * @return \think\Response + * @return Response|array */ -function captcha($config = null): Response +function captcha($config = null) { return Captcha::create($config); }