From 64dbdf57c117fb72ec1400765cac56a7d93645fa Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 24 Sep 2022 14:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index 3aafd866..7e6f4e31 100644 --- a/function.php +++ b/function.php @@ -242,7 +242,7 @@ if (!function_exists('scan_directory')) { * @throws ReflectionException * @throws Exception */ - function scan_directory($dir, $namespace, array $exclude = []) + function scan_directory($dir, $namespace, array $exclude = []): void { $annotation = Kiri::getDi()->get(Annotation::class); $annotation->read($dir, $namespace, $exclude);