This commit is contained in:
2021-04-19 15:33:44 +08:00
parent 0771848114
commit a6046bb74e
2 changed files with 34 additions and 32 deletions
+3 -3
View File
@@ -86,9 +86,9 @@ class Annotation extends Component
*/
public function runtime(string $dir, string|array $outPath = [])
{
if (!empty($outPath) && !is_array($outPath)) {
$outPath = [$outPath];
}
// if (!empty($outPath) && !is_array($outPath)) {
// $outPath = [$outPath];
// }
$this->_loader->loadByDirectory($dir, $outPath);
}