This commit is contained in:
as2252258@163.com
2021-05-04 01:43:32 +08:00
parent 20bf15dda6
commit 1098e9a990
+1 -1
View File
@@ -180,7 +180,7 @@ class Annotation extends Component
* @return void
* @throws Exception
*/
public function read(string $path, string $namespace, string $alias = 'root'): void
public function read(string $path, string $namespace = 'App', string $alias = 'root'): void
{
$this->_loader->_scanDir(new DirectoryIterator($path), $namespace);