This commit is contained in:
2022-09-24 14:22:36 +08:00
parent 8e7832912d
commit 64dbdf57c1
+1 -1
View File
@@ -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);