This commit is contained in:
2020-09-18 19:38:34 +08:00
parent 0e32a7f4fb
commit 1f8ef9663a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ class Annotation extends BaseAnnotation
* @param $className
* @throws ReflectionException
*/
protected function scanning($path, $namespace, $className)
protected function scanning(string $path, $namespace, $className)
{
$di = Snowflake::getDi();
foreach (glob($path . '/*') as $file) {