改名
This commit is contained in:
@@ -88,7 +88,7 @@ class Annotation extends Component
|
|||||||
{
|
{
|
||||||
if ($outPath === null) {
|
if ($outPath === null) {
|
||||||
$outPath = [];
|
$outPath = [];
|
||||||
} else if (!is_array($outPath)) {
|
} else if (!empty($outPath) && !is_array($outPath)) {
|
||||||
$outPath = [$outPath];
|
$outPath = [$outPath];
|
||||||
}
|
}
|
||||||
$this->_loader->loadByDirectory($dir, $outPath);
|
$this->_loader->loadByDirectory($dir, $outPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user