This commit is contained in:
2021-01-19 18:16:41 +08:00
parent d47eca1916
commit 38c1aca27e
+3 -3
View File
@@ -80,9 +80,9 @@ class Annotation extends Component
$this->_annotations[$alias] = [];
}
foreach ($paths as $path) {
// if (!str_contains('.php', $path)) {
// continue;
// }
if (!str_contains($path, '.php')) {
continue;
}
$explode = explode('/', $path);
$explode_pop = array_pop($explode);