This commit is contained in:
2020-08-31 23:23:13 +08:00
parent 46a1466980
commit dcf67c3848
+1 -4
View File
@@ -65,10 +65,7 @@ class Annotation extends BaseAnnotation
*/
public function registration_notes($path, $namespace, $class)
{
$path = rtrim($path, '/');
foreach (glob($path . '/*') as $item) {
$this->scanning($item, $namespace, $class);
}
$this->scanning(rtrim($path, '/'), $namespace, $class);
}