变更
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ if (!function_exists('scan_directory')) {
|
|||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
function scan_directory($dir, $namespace, array $exclude = [])
|
function scan_directory($dir, $namespace, array $exclude = []): void
|
||||||
{
|
{
|
||||||
$annotation = Kiri::getDi()->get(Annotation::class);
|
$annotation = Kiri::getDi()->get(Annotation::class);
|
||||||
$annotation->read($dir, $namespace, $exclude);
|
$annotation->read($dir, $namespace, $exclude);
|
||||||
|
|||||||
Reference in New Issue
Block a user